aboutsummaryrefslogtreecommitdiff
path: root/tests/stack.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stack.nim')
-rw-r--r--tests/stack.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stack.nim b/tests/stack.nim
index cb49daf..cecdef9 100644
--- a/tests/stack.nim
+++ b/tests/stack.nim
@@ -110,6 +110,8 @@ suite "Stack":
check empty.data[1] == 0
check empty.data[2] == 0
check empty.data[3] == 0
+ empty[].Transfert(empty2[], 32)
+ check empty.size == 64
empty = NewStack()
var some = NewStack()
some[].Push(2)