mirror of
https://github.com/louisrubet/rpn
synced 2024-12-28 09:58:52 +01:00
#3: completed entry
This commit is contained in:
parent
d7fe2ce743
commit
dc71d2c560
1 changed files with 16 additions and 0 deletions
|
@ -85,3 +85,19 @@ erase
|
|||
"test string
|
||||
-> stack size should be 1
|
||||
-> stack should be "test string"
|
||||
|
||||
# program
|
||||
erase
|
||||
<< 'one' >>
|
||||
-> stack size should be 1
|
||||
-> stack should be << 'one' >>
|
||||
|
||||
erase
|
||||
<< 'one' 2
|
||||
-> stack size should be 1
|
||||
-> stack should be << 'one' 2 >>
|
||||
|
||||
erase
|
||||
<< -> n << n 2 + >> >>
|
||||
-> stack size should be 1
|
||||
-> stack should be << -> n << n 2 + >> >>
|
||||
|
|
Loading…
Reference in a new issue