about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-03-26 20:46:20 +0300
committerNakidai <nakidai@disroot.org>2025-03-26 20:46:20 +0300
commite5e13e8063edb3f7841de6c63d706cf0269dbf84 (patch)
tree37446183fa38da2903fabfcfa32c6a17861c10b9
parent7b94dd5d7f4b8604ed3af6499edde8286d9073c9 (diff)
download3cl-e5e13e8063edb3f7841de6c63d706cf0269dbf84.tar.gz
3cl-e5e13e8063edb3f7841de6c63d706cf0269dbf84.zip
Update examples
-rw-r--r--examples/Makefile1
-rw-r--r--examples/fib.ccl.test7
-rw-r--r--examples/gcd.ccl.test5
3 files changed, 12 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 35e7d74..c4901ab 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -7,4 +7,3 @@ all: ${TESTS}
 ${TESTS}:
 	@echo "Test: $@"
 	@test "`../3cl -d $@.ccl`" = "`cat $@.ccl.test`"
-	@echo
diff --git a/examples/fib.ccl.test b/examples/fib.ccl.test
index e69de29..933afe4 100644
--- a/examples/fib.ccl.test
+++ b/examples/fib.ccl.test
@@ -0,0 +1,7 @@
+Globals:
+  t=23
+Functions:
+  F, 21 nodes
+Stack:
+  23
+  28657
diff --git a/examples/gcd.ccl.test b/examples/gcd.ccl.test
index e69de29..441395f 100644
--- a/examples/gcd.ccl.test
+++ b/examples/gcd.ccl.test
@@ -0,0 +1,5 @@
+Globals:
+Functions:
+  F, 16 nodes
+Stack:
+  1