Skip to content

Commit 91996e9

Browse files
author
Cserteg Tamás
committed
add testcase for root cell
1 parent 1ab4bb6 commit 91996e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/cell.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ end
5252

5353
@test parents3D[1] === cell3D[2,2,2]
5454
@test parents3D[2] === cell3D
55+
56+
noparents = [p for p in allparents(cell2D)]
57+
@test length(noparents) == 0
5558
end

0 commit comments

Comments
 (0)