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/triangle.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/triangle.json (limited to 'tests/triangle.json') diff --git a/tests/triangle.json b/tests/triangle.json new file mode 100644 index 0000000..ff1246c --- /dev/null +++ b/tests/triangle.json @@ -0,0 +1,4 @@ +[ + { "stdin": "10\n", "stdout": "55\n" }, + { "stdin": "20\n", "stdout": "210\n" } +] -- cgit v1.2.3