Skip to content

Commit f2041a8

Browse files
committed
Add test for interfaces
1 parent 7a6ede3 commit f2041a8

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
@@ -81,6 +81,9 @@ using LinearAlgebra
8181
p = Point(1.1, 2.2)
8282
@test p isa AbstractVector{Float64}
8383
pm = GeometryBasics.PointMeta(1.1, 2.2; a=1, b=2)
84+
p1 = Point(2.2, 3.6)
85+
p2 = [p, p1]
86+
@test coordinates(p2) == p2
8487
@test meta(pm) === (a=1, b=2)
8588
@test metafree(pm) === p
8689
@test propertynames(pm) == (:position, :a, :b)

0 commit comments

Comments
 (0)