summaryrefslogtreecommitdiffstats
path: root/04-algorithms_on_strings/04-suffix_array/01-kmp/tests
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-11-14 07:00:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-14 07:00:58 +0100
commit7471f538c2203f266cb8002fb001183a9720a969 (patch)
tree1ae9d4b366aa806391f2d40e2f458c5a7aa0f09e /04-algorithms_on_strings/04-suffix_array/01-kmp/tests
parenteb0a213d040fb3b116ec030a6755216ce5e61ee9 (diff)
downloadcoursera-7471f538c2203f266cb8002fb001183a9720a969.zip
coursera-7471f538c2203f266cb8002fb001183a9720a969.tar.gz
Algorithms : add 04-algorithms_on_strings 04-suffix_array
Diffstat (limited to '04-algorithms_on_strings/04-suffix_array/01-kmp/tests')
-rw-r--r--04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample12
-rw-r--r--04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1.a1
-rw-r--r--04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample22
-rw-r--r--04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2.a1
-rw-r--r--04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample32
-rw-r--r--04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3.a1
6 files changed, 9 insertions, 0 deletions
diff --git a/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1 b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1
new file mode 100644
index 0000000..66fbc8f
--- /dev/null
+++ b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1
@@ -0,0 +1,2 @@
+TACG
+GT
diff --git a/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1.a b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1.a
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample1.a
@@ -0,0 +1 @@
+
diff --git a/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2 b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2
new file mode 100644
index 0000000..636224a
--- /dev/null
+++ b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2
@@ -0,0 +1,2 @@
+ATA
+ATATA
diff --git a/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2.a b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2.a
new file mode 100644
index 0000000..fa581ef
--- /dev/null
+++ b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample2.a
@@ -0,0 +1 @@
+0 2
diff --git a/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3 b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3
new file mode 100644
index 0000000..0a08309
--- /dev/null
+++ b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3
@@ -0,0 +1,2 @@
+ATAT
+GATATATGCATATACTT
diff --git a/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3.a b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3.a
new file mode 100644
index 0000000..5ac4cba
--- /dev/null
+++ b/04-algorithms_on_strings/04-suffix_array/01-kmp/tests/sample3.a
@@ -0,0 +1 @@
+1 3 9