diff options
Diffstat (limited to '')
-rw-r--r-- | tests/stack.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/stack.nim b/tests/stack.nim index cecdef9..ebbbe5d 100644 --- a/tests/stack.nim +++ b/tests/stack.nim @@ -144,3 +144,6 @@ suite "Stack": check empty[].Next() == nil var some = NewStack(next = empty) check some[].Next() == empty + test "GetHeights": + var empty = NewStack() + check empty[].GetHeights == @[0] |