aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-151/abigail/t/ctest.ini9
-rw-r--r--challenge-151/abigail/t/input-1-12
-rw-r--r--challenge-151/abigail/t/input-2-12
-rw-r--r--challenge-151/abigail/t/output-1-1.exp2
-rw-r--r--challenge-151/abigail/t/output-2-1.exp2
5 files changed, 17 insertions, 0 deletions
diff --git a/challenge-151/abigail/t/ctest.ini b/challenge-151/abigail/t/ctest.ini
new file mode 100644
index 0000000000..0a8cb97d18
--- /dev/null
+++ b/challenge-151/abigail/t/ctest.ini
@@ -0,0 +1,9 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Given Examples
+2-1 = Given Examples
+
diff --git a/challenge-151/abigail/t/input-1-1 b/challenge-151/abigail/t/input-1-1
new file mode 100644
index 0000000000..61fb9ed0dc
--- /dev/null
+++ b/challenge-151/abigail/t/input-1-1
@@ -0,0 +1,2 @@
+1 | 2 3 | 4 5
+1 | 2 3 | 4 * * 5 | * 6
diff --git a/challenge-151/abigail/t/input-2-1 b/challenge-151/abigail/t/input-2-1
new file mode 100644
index 0000000000..14b0f0f2c6
--- /dev/null
+++ b/challenge-151/abigail/t/input-2-1
@@ -0,0 +1,2 @@
+2 4 5
+4 2 3 6 5 3
diff --git a/challenge-151/abigail/t/output-1-1.exp b/challenge-151/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..4792e70f33
--- /dev/null
+++ b/challenge-151/abigail/t/output-1-1.exp
@@ -0,0 +1,2 @@
+2
+3
diff --git a/challenge-151/abigail/t/output-2-1.exp b/challenge-151/abigail/t/output-2-1.exp
new file mode 100644
index 0000000000..dd80f6a91d
--- /dev/null
+++ b/challenge-151/abigail/t/output-2-1.exp
@@ -0,0 +1,2 @@
+7
+13