aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-08-02 13:44:32 +0200
committerAbigail <abigail@abigail.be>2021-08-02 13:44:32 +0200
commit7995d5f5700d575afe9554f8857d2bab02297c39 (patch)
treefbfbc58fc0fe3fa9acd5960fd1d5285893afd3fe
parentf98b461d6301c6fc12e60034ec0677185ebac33c (diff)
downloadperlweeklychallenge-club-7995d5f5700d575afe9554f8857d2bab02297c39.tar.gz
perlweeklychallenge-club-7995d5f5700d575afe9554f8857d2bab02297c39.tar.bz2
perlweeklychallenge-club-7995d5f5700d575afe9554f8857d2bab02297c39.zip
Tests for week 124
-rw-r--r--challenge-124/abigail/t/ctest.ini8
-rw-r--r--challenge-124/abigail/t/input-1-10
-rw-r--r--challenge-124/abigail/t/input-2-12
-rw-r--r--challenge-124/abigail/t/output-2-1.exp4
4 files changed, 14 insertions, 0 deletions
diff --git a/challenge-124/abigail/t/ctest.ini b/challenge-124/abigail/t/ctest.ini
new file mode 100644
index 0000000000..126831bc8e
--- /dev/null
+++ b/challenge-124/abigail/t/ctest.ini
@@ -0,0 +1,8 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Fixed output
+2-1 = Given Examples
diff --git a/challenge-124/abigail/t/input-1-1 b/challenge-124/abigail/t/input-1-1
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/challenge-124/abigail/t/input-1-1
diff --git a/challenge-124/abigail/t/input-2-1 b/challenge-124/abigail/t/input-2-1
new file mode 100644
index 0000000000..f4c3a07582
--- /dev/null
+++ b/challenge-124/abigail/t/input-2-1
@@ -0,0 +1,2 @@
+10 20 30 40 50 60 70 80 90 100
+10 -15 20 30 -25 0 5 40 -5
diff --git a/challenge-124/abigail/t/output-2-1.exp b/challenge-124/abigail/t/output-2-1.exp
new file mode 100644
index 0000000000..d97454eade
--- /dev/null
+++ b/challenge-124/abigail/t/output-2-1.exp
@@ -0,0 +1,4 @@
+30 40 60 70 80
+10 20 50 90 100
+30 0 5 -5
+10 -15 20 -25 40