Skip to content

Commit e2ba76c

Browse files
committed
Add tests
1 parent e461c7e commit e2ba76c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,9 @@ end
371371
points = decompose(Point2f0, Circle(Point2f0(0), 1))
372372
m = GeometryBasics.mesh(points)
373373
@test coordinates(m) === points
374+
375+
linestring = LineString(Point{2, Int}[(10, 10), (20, 20), (10, 40)])
376+
@test decompose(Point{2, Int}, linestring) == Point{2, Int64}[[10, 10], [20, 20], [10, 40]]
374377
end
375378

376379
@testset "convert mesh + meta" begin

0 commit comments

Comments
 (0)