aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-09-13 19:26:03 +0200
committerAbigail <abigail@abigail.be>2021-09-13 19:26:03 +0200
commit5fe7e8d9b300f39513818f3ef65908de1784926c (patch)
tree0279b6d2152f985c80f06c6f431de2ba827460a8
parent94565845c46cf4f0323aea42cac93e56ce07241c (diff)
downloadperlweeklychallenge-club-5fe7e8d9b300f39513818f3ef65908de1784926c.tar.gz
perlweeklychallenge-club-5fe7e8d9b300f39513818f3ef65908de1784926c.tar.bz2
perlweeklychallenge-club-5fe7e8d9b300f39513818f3ef65908de1784926c.zip
Tests for week 130, part 1
-rw-r--r--challenge-130/abigail/t/ctest.ini7
-rw-r--r--challenge-130/abigail/t/input-1-12
-rw-r--r--challenge-130/abigail/t/output-1-1.exp2
3 files changed, 11 insertions, 0 deletions
diff --git a/challenge-130/abigail/t/ctest.ini b/challenge-130/abigail/t/ctest.ini
new file mode 100644
index 0000000000..d1a3f6baf6
--- /dev/null
+++ b/challenge-130/abigail/t/ctest.ini
@@ -0,0 +1,7 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Given Examples
diff --git a/challenge-130/abigail/t/input-1-1 b/challenge-130/abigail/t/input-1-1
new file mode 100644
index 0000000000..015b0d2e49
--- /dev/null
+++ b/challenge-130/abigail/t/input-1-1
@@ -0,0 +1,2 @@
+2 5 4 4 5 5 2
+1 2 3 4 3 2 1 4 4
diff --git a/challenge-130/abigail/t/output-1-1.exp b/challenge-130/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..b5104f3ba9
--- /dev/null
+++ b/challenge-130/abigail/t/output-1-1.exp
@@ -0,0 +1,2 @@
+5
+4