aboutsummaryrefslogtreecommitdiff
path: root/tests/triangle.json
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2025-08-04 23:12:39 +0200
committerMathias Magnusson <mathias@magnusson.space>2025-08-04 23:12:39 +0200
commit392f0c4be0d4c034a4b161337f8f3c5fbf46358a (patch)
tree493cef6315b016e8ec7f9be051be7bb904e16add /tests/triangle.json
parent22f24043755ed320eff8a121aa1b80ede3b3a37f (diff)
downloadhuginn-main.tar.gz
add a little test runnerHEADmain
Diffstat (limited to 'tests/triangle.json')
-rw-r--r--tests/triangle.json4
1 files changed, 4 insertions, 0 deletions
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" }
+]