2017-05-02 10:55:12 +02:00
|
|
|
## GENERAL
|
2017-06-16 23:44:48 +02:00
|
|
|
default erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
|
|
|
# version
|
|
|
|
version
|
2017-05-13 12:08:41 +02:00
|
|
|
-> stack size should be 1
|
2017-06-16 23:44:48 +02:00
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
|
|
|
uname
|
2017-06-16 23:44:48 +02:00
|
|
|
-> stack size should be 1
|
2017-05-02 10:55:12 +02:00
|
|
|
erase
|
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (1)
|
|
|
|
1 type
|
2017-06-17 10:21:02 +02:00
|
|
|
-> stack should be "number"
|
2017-05-12 17:27:40 +02:00
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (2)
|
|
|
|
"hey" type
|
2017-06-17 10:21:02 +02:00
|
|
|
-> stack should be "string"
|
2017-05-12 17:27:40 +02:00
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (3)
|
|
|
|
<< -> n << n >> >> type
|
2017-06-17 10:21:02 +02:00
|
|
|
-> stack should be "program"
|
2017-05-12 17:27:40 +02:00
|
|
|
erase
|
2017-05-13 12:08:41 +02:00
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (4)
|
|
|
|
(1,2) type
|
2017-06-17 10:21:02 +02:00
|
|
|
-> stack should be "complex"
|
|
|
|
erase
|
|
|
|
|
|
|
|
# type (5)
|
|
|
|
type
|
|
|
|
-> error should be 2
|
2017-06-16 23:44:48 +02:00
|
|
|
erase
|
|
|
|
|
2017-05-13 12:08:41 +02:00
|
|
|
# default
|
2017-06-16 23:44:48 +02:00
|
|
|
2 sci 1
|
2017-05-13 12:08:41 +02:00
|
|
|
-> stack should be 1.00e+00
|
|
|
|
default
|
|
|
|
-> stack should be 1
|
|
|
|
erase
|
2017-05-31 09:54:41 +02:00
|
|
|
|
|
|
|
# nop
|
|
|
|
nop
|
|
|
|
-> stack size should be 0
|
|
|
|
-> error should be 0
|
2017-06-16 23:44:48 +02:00
|
|
|
erase
|