aboutsummaryrefslogtreecommitdiff
path: root/challenge-112
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-112')
-rw-r--r--challenge-112/abigail/t/ctest.ini9
-rw-r--r--challenge-112/abigail/t/input-1-13
-rw-r--r--challenge-112/abigail/t/input-1-23
-rw-r--r--challenge-112/abigail/t/input-2-12
-rw-r--r--challenge-112/abigail/t/output-1-1.exp3
-rw-r--r--challenge-112/abigail/t/output-1-2.exp3
-rw-r--r--challenge-112/abigail/t/output-2-1.exp2
7 files changed, 25 insertions, 0 deletions
diff --git a/challenge-112/abigail/t/ctest.ini b/challenge-112/abigail/t/ctest.ini
new file mode 100644
index 0000000000..a9e28e24b6
--- /dev/null
+++ b/challenge-112/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
+1-2 = More tests
+2-1 = Given examples
diff --git a/challenge-112/abigail/t/input-1-1 b/challenge-112/abigail/t/input-1-1
new file mode 100644
index 0000000000..21654c1df7
--- /dev/null
+++ b/challenge-112/abigail/t/input-1-1
@@ -0,0 +1,3 @@
+/a/
+/a/b//c/
+/a/b/c/../..
diff --git a/challenge-112/abigail/t/input-1-2 b/challenge-112/abigail/t/input-1-2
new file mode 100644
index 0000000000..e56eb484ba
--- /dev/null
+++ b/challenge-112/abigail/t/input-1-2
@@ -0,0 +1,3 @@
+/../../foo
+/a/.////./b//
+/a/..../b
diff --git a/challenge-112/abigail/t/input-2-1 b/challenge-112/abigail/t/input-2-1
new file mode 100644
index 0000000000..b94473479c
--- /dev/null
+++ b/challenge-112/abigail/t/input-2-1
@@ -0,0 +1,2 @@
+3
+4
diff --git a/challenge-112/abigail/t/output-1-1.exp b/challenge-112/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..088085a167
--- /dev/null
+++ b/challenge-112/abigail/t/output-1-1.exp
@@ -0,0 +1,3 @@
+/a
+/a/b/c
+/a
diff --git a/challenge-112/abigail/t/output-1-2.exp b/challenge-112/abigail/t/output-1-2.exp
new file mode 100644
index 0000000000..4baf181d18
--- /dev/null
+++ b/challenge-112/abigail/t/output-1-2.exp
@@ -0,0 +1,3 @@
+/foo
+/a/b
+/a/..../b
diff --git a/challenge-112/abigail/t/output-2-1.exp b/challenge-112/abigail/t/output-2-1.exp
new file mode 100644
index 0000000000..7ee0007bf1
--- /dev/null
+++ b/challenge-112/abigail/t/output-2-1.exp
@@ -0,0 +1,2 @@
+3
+5