From ac18daa74c7d9ca7628872faf679bec1667f9cba Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sun, 27 Sep 2020 17:57:13 +0200 Subject: [PATCH] added some test scripts to use (and test) previously unused instructions --- tests/absolute | 9 +++++++++ tests/equal | 14 ++++++++++++++ tests/reverse | 5 +++++ 3 files changed, 28 insertions(+) create mode 100755 tests/absolute create mode 100755 tests/equal create mode 100755 tests/reverse diff --git a/tests/absolute b/tests/absolute new file mode 100755 index 0000000..d756853 --- /dev/null +++ b/tests/absolute @@ -0,0 +1,9 @@ +#!/usr/bin/env curly +1 +abs +out +neg +out +abs +out +end diff --git a/tests/equal b/tests/equal new file mode 100755 index 0000000..cd3d73e --- /dev/null +++ b/tests/equal @@ -0,0 +1,14 @@ +#!/usr/bin/env curly +\deze +\deze +>hetzelfde +geq +\niet hetzelfde +out +>klaar +gto +:hetzelfde +\hetzelfde! +out +:klaar +end diff --git a/tests/reverse b/tests/reverse new file mode 100755 index 0000000..c2141c6 --- /dev/null +++ b/tests/reverse @@ -0,0 +1,5 @@ +#!/usr/bin/env curly +\Dit taaltje is best geinig +rev +out +end