File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 123
123
xy = SVector (1.0 , 2.0 )u " m"
124
124
rθ = Polar (2.23606797749979 u " m" , 1.1071487177940904 )
125
125
126
- @test_broken p_from_c (xy) ≈ rθ
127
- @test_broken p_from_c (collect (xy)) ≈ rθ
126
+ @test p_from_c (xy) ≈ rθ
127
+ @test p_from_c (collect (xy)) ≈ rθ
128
128
@test c_from_p (rθ) ≈ xy
129
129
end
130
130
end
510
510
@testset " Shperical" begin
511
511
rθϕ = Spherical (3.7416573867739413 u " m" , 1.1071487177940904 , 0.9302740141154721 )
512
512
513
- @test_broken s_from_cart (xyz) ≈ rθϕ
513
+ @test s_from_cart (xyz) ≈ rθϕ
514
514
@test typeof (s_from_cart (xyz)) == typeof (rθϕ)
515
- @test_broken s_from_cart (collect (xyz)) ≈ rθϕ
515
+ @test s_from_cart (collect (xyz)) ≈ rθϕ
516
516
@test cart_from_s (rθϕ) ≈ xyz
517
517
end
518
518
@testset " Cylindrical" begin
519
519
rθz = Cylindrical (2.23606797749979 u " m" , 1.1071487177940904 , 3.0 u " m" )
520
520
521
- @test_broken cyl_from_cart (xyz) ≈ rθz
521
+ @test cyl_from_cart (xyz) ≈ rθz
522
522
@test typeof (cyl_from_cart (xyz)) == typeof (rθz)
523
- @test_broken cyl_from_cart (collect (xyz)) ≈ rθz
523
+ @test cyl_from_cart (collect (xyz)) ≈ rθz
524
524
@test cart_from_cyl (rθz) ≈ xyz
525
525
end
526
526
end
You can’t perform that action at this time.
0 commit comments