From 392f0c4be0d4c034a4b161337f8f3c5fbf46358a Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Mon, 4 Aug 2025 23:12:39 +0200 Subject: add a little test runner --- tests/rec_fib.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/rec_fib.json (limited to 'tests/rec_fib.json') diff --git a/tests/rec_fib.json b/tests/rec_fib.json new file mode 100644 index 0000000..d7b90c6 --- /dev/null +++ b/tests/rec_fib.json @@ -0,0 +1,7 @@ +[ + { "stdin": "0\n", "stdout": "0\n" }, + { "stdin": "1\n", "stdout": "1\n" }, + { "stdin": "10\n", "stdout": "55\n" }, + { "stdin": "20\n", "stdout": "6765\n" }, + { "stdin": "30\n", "stdout": "832040\n" } +] -- cgit v1.2.3