From 31dcdd0c68c6fa9d5ec69a1c025ead619e30e08e Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 29 May 2023 16:08:47 -0400 Subject: tests: add lxiny-examples tests --- tests/lxiny-examples/stack-manipulation2.forth | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/lxiny-examples/stack-manipulation2.forth (limited to 'tests/lxiny-examples/stack-manipulation2.forth') diff --git a/tests/lxiny-examples/stack-manipulation2.forth b/tests/lxiny-examples/stack-manipulation2.forth new file mode 100644 index 0000000..a154d40 --- /dev/null +++ b/tests/lxiny-examples/stack-manipulation2.forth @@ -0,0 +1,10 @@ +INPUT +1 2 3 4 tuck .s clearstack +1 2 3 4 over .s clearstack +1 2 3 4 2 roll .s clearstack +1 2 3 4 2 pick .s clearstack +OUTPUT +<5> 1 2 4 3 4 +<5> 1 2 3 4 3 +<4> 1 3 4 2 +<5> 1 2 3 4 2 -- cgit v1.2.3