Skip to content

Commit 7c6a6de

Browse files
committed
Remove area tests from perimeter.jl
1 parent 97d104f commit 7c6a6de

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

test/methods/area.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,11 @@ end
9797
@test GO.area($mp1) == a2 + a4
9898
@test GO.area($mp1, Float32) isa Float32
9999
end
100+
101+
102+
highlat_poly = LG.Polygon([[[70., 70.], [70., 80.], [80., 80.], [80., 70.], [70., 70.]]])
103+
104+
@testset_implementations "Spherical/geodesic" begin
105+
@test GO.area(GO.Planar(), $highlat_poly) == 100
106+
@test GO.area(GO.Planar(), $highlat_poly) < GO.area(GO.Geodesic(), $highlat_poly)
107+
end

test/methods/perimeter.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@ end
2323
@test GO.perimeter(GO.Planar(), highlat_poly) == 40
2424
@test GO.perimeter(GO.Planar(), highlat_poly) < GO.perimeter(GO.Spherical(), highlat_poly)
2525
@test GO.perimeter(GO.Spherical(), highlat_poly) < GO.perimeter(GO.Geodesic(), highlat_poly)
26-
27-
@test GO.area(GO.Planar(), highlat_poly) == 100
28-
@test GO.area(GO.Planar(), highlat_poly) < GO.area(GO.Geodesic(), highlat_poly)
2926
end

0 commit comments

Comments
 (0)