We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e80f3d commit e7f5103Copy full SHA for e7f5103
test/runtests.jl
@@ -345,7 +345,7 @@ end
345
m = GeometryBasics.mesh(s)
346
@test m isa Mesh{3, Float64}
347
@test coordinates(m) isa Vector{Point{3, Float64}}
348
-
+ @test GeometryBasics.faces(m) isa Vector{GLTriangleFace}
349
# Check, that decompose isn't making a copy for matching eltype
350
@test coordinates(m) === decompose(Point{3, Float64}, m)
351
@@ -357,4 +357,9 @@ end
357
@test nmesh isa GLNormalMesh
358
@test metafree(coordinates(nmesh)) === decompose(Point3f0, nmesh)
359
@test normals(nmesh) === decompose_normals(nmesh)
360
+
361
+ m = GeometryBasics.mesh(s, pointtype=Point3f0)
362
+ @test m isa Mesh{3, Float32}
363
+ @test coordinates(m) isa Vector{Point3f0}
364
365
end
0 commit comments