Skip to content

Commit 78f5a5c

Browse files
authored
Merge pull request #80 from t-bltg/testing
Those tests once marked broken (#60) seem to pass now.
2 parents 05a3f90 + 9b1f348 commit 78f5a5c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
matrix:
1414
version:
1515
- '1.0'
16-
- '1.3'
16+
- '1.6'
17+
- '1'
1718
os:
1819
- ubuntu-latest
1920
- macOS-latest

docs/src/note.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/coordinatesystems.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
xy = SVector(1.0, 2.0)u"m"
124124
= Polar(2.23606797749979u"m", 1.1071487177940904)
125125

126-
@test_broken p_from_c(xy)
127-
@test_broken p_from_c(collect(xy))
126+
@test p_from_c(xy)
127+
@test p_from_c(collect(xy))
128128
@test c_from_p(rθ) xy
129129
end
130130
end
@@ -510,17 +510,17 @@
510510
@testset "Shperical" begin
511511
rθϕ = Spherical(3.7416573867739413u"m", 1.1071487177940904, 0.9302740141154721)
512512

513-
@test_broken s_from_cart(xyz) rθϕ
513+
@test s_from_cart(xyz) rθϕ
514514
@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θϕ
516516
@test cart_from_s(rθϕ) xyz
517517
end
518518
@testset "Cylindrical" begin
519519
rθz = Cylindrical(2.23606797749979u"m", 1.1071487177940904, 3.0u"m")
520520

521-
@test_broken cyl_from_cart(xyz) rθz
521+
@test cyl_from_cart(xyz) rθz
522522
@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
524524
@test cart_from_cyl(rθz) xyz
525525
end
526526
end

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using Documenter: doctest
99

1010
@testset "CoordinateTransformations" begin
1111

12-
doctest(CoordinateTransformations)
12+
doctest(CoordinateTransformations, manual=false)
1313
include("core.jl")
1414
include("coordinatesystems.jl")
1515
include("affine.jl")

0 commit comments

Comments
 (0)