Skip to content

Commit a38f74a

Browse files
committed
change Linear to Planar
1 parent b281ee6 commit a38f74a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/transformations/segmentize.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ using ..TestHelpers
5050
end
5151

5252
lr = GI.LinearRing([(0, 0), (1, 0), (1, 1), (0, 1), (0, 0)])
53-
@testset_implementations "LinearSegments" begin
53+
@testset_implementations "Planar" begin
5454
ct = GO.centroid($lr)
5555
ar = GO.area($lr)
5656
for max_distance in exp10.(LinRange(log10(0.01), log10(1), 10))
57-
segmentized = GO.segmentize(GO.Linear(), $lr; max_distance)
57+
segmentized = GO.segmentize(GO.Planar(), $lr; max_distance)
5858
@test all(GO.centroid(segmentized) .≈ ct)
5959
@test GO.area(segmentized) ar
6060
end
6161
end
6262

6363
lr = GI.LinearRing([(0, 0), (1, 0), (1, 1), (0, 1), (0, 0)])
64-
@testset_implementations "GeodesicSegments" begin
64+
@testset_implementations "Geodesic" begin
6565
for max_distance in exp10.(LinRange(log10(0.01), log10(1), 10)) .* 900
6666
@test_nowarn segmentized = GO.segmentize(GO.Geodesic(), $lr; max_distance)
6767
end

0 commit comments

Comments
 (0)