Skip to content

Commit 6ee9486

Browse files
committed
add test
1 parent 8b2731c commit 6ee9486

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/meshes.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ end
5454
@test normals(m2) != normals(m)
5555
@test normals(m2) == [only(values(normals(m))) for _ in 1:4]
5656
@test isempty(m2.views)
57+
58+
mm = MetaMesh(m, Dict(:test => 1, :a => "a"))
59+
mm2 = GeometryBasics.expand_faceviews(mm)
60+
@test mm2.meta == mm.meta
61+
@test Mesh(mm2) == m2
5762
end
5863

5964
@testset "Duplicate face removal" begin

0 commit comments

Comments
 (0)