mirror of
https://github.com/louisrubet/rpn
synced 2024-12-28 09:58:52 +01:00
441 B
441 B
TEST FRAMEWORK
default del
testing the stack size 1
-> stack size should be 0
testing the stack size 2
1
-> stack size should be 1
del
-> stack size should be 0
testing the stack size 3
1 2 3 4 5
-> stack size should be 5
del
testing stack
1 2 3
-> stack should be 1, 2, 3
del
-> stack should be
testing error 1
del
-> error should be 0
testing error 2
drop
-> error should be 2