aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-139/abigail/t/ctest.ini11
-rw-r--r--challenge-139/abigail/t/input-1-12
-rw-r--r--challenge-139/abigail/t/input-2-10
-rw-r--r--challenge-139/abigail/t/output-1-1.exp2
-rw-r--r--challenge-139/abigail/t/output-2-1.exp5
5 files changed, 20 insertions, 0 deletions
diff --git a/challenge-139/abigail/t/ctest.ini b/challenge-139/abigail/t/ctest.ini
new file mode 100644
index 0000000000..01d41b9c6f
--- /dev/null
+++ b/challenge-139/abigail/t/ctest.ini
@@ -0,0 +1,11 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Given examples
+2-1 = Fixed output
+
+[2-1]
+no_input = 1
diff --git a/challenge-139/abigail/t/input-1-1 b/challenge-139/abigail/t/input-1-1
new file mode 100644
index 0000000000..8af9f0fa85
--- /dev/null
+++ b/challenge-139/abigail/t/input-1-1
@@ -0,0 +1,2 @@
+1 2 3 4 5
+1 3 2 4 5
diff --git a/challenge-139/abigail/t/input-2-1 b/challenge-139/abigail/t/input-2-1
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/challenge-139/abigail/t/input-2-1
diff --git a/challenge-139/abigail/t/output-1-1.exp b/challenge-139/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..b261da18d5
--- /dev/null
+++ b/challenge-139/abigail/t/output-1-1.exp
@@ -0,0 +1,2 @@
+1
+0
diff --git a/challenge-139/abigail/t/output-2-1.exp b/challenge-139/abigail/t/output-2-1.exp
new file mode 100644
index 0000000000..30d54fc879
--- /dev/null
+++ b/challenge-139/abigail/t/output-2-1.exp
@@ -0,0 +1,5 @@
+7
+17
+19
+23
+29