Skip to content

Commit 135c7e9

Browse files
committed
add tests
1 parent 388034d commit 135c7e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,12 @@ end
274274
@test meshuv isa GLUVMesh3D
275275
@test meshuvnormal isa GLNormalUVMesh3D
276276

277+
t = Tesselation(FRect2D(0, 0, 2, 2), (30, 30))
278+
m = GeometryBasics.mesh(t, pointtype=Point3f0, facetype=QuadFace{Int})
279+
m2 = GeometryBasics.mesh(m, facetype=QuadFace{GLIndex})
280+
@test faces(m2) isa Vector{QuadFace{GLIndex}}
281+
@test coordinates(m2) isa Vector{Point3f0}
282+
277283
end
278284

279285
@testset "Multi geometries" begin

0 commit comments

Comments
 (0)