diff options
author | Julien Dessaux | 2021-10-04 20:10:21 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-10-04 20:10:21 +0200 |
commit | c9b3a999bd003b6489c5679c91c06ec48258e648 (patch) | |
tree | ffef54a52d86506cf422473a07de0b62d7aeb69e /tests/stack.nim | |
parent | Improved readme (diff) | |
download | nimfunge98-c9b3a999bd003b6489c5679c91c06ec48258e648.tar.gz nimfunge98-c9b3a999bd003b6489c5679c91c06ec48258e648.tar.bz2 nimfunge98-c9b3a999bd003b6489c5679c91c06ec48258e648.zip |
Finished implementing the stackstack
Diffstat (limited to 'tests/stack.nim')
-rw-r--r-- | tests/stack.nim | 2 |
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) |