mirror of
https://github.com/louisrubet/rpn
synced 2025-01-15 03:41:25 +01:00
#3: completed entry
This commit is contained in:
parent
f3e052db40
commit
d5044077d3
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