From b2a54b84162e01d41548ddff13ae3fca70ebd1aa Mon Sep 17 00:00:00 2001 From: "O. Perret" Date: Sun, 27 Dec 2015 15:53:03 +0100 Subject: [PATCH] Add reverse search unit tests --- test/unit/search-reverse-rightmost/missed-match/cmd | 1 + test/unit/search-reverse-rightmost/missed-match/in | 1 + test/unit/search-reverse-rightmost/missed-match/selections | 1 + test/unit/search-reverse-rightmost/overlap/cmd | 1 + test/unit/search-reverse-rightmost/overlap/in | 1 + test/unit/search-reverse-rightmost/overlap/selections | 1 + 6 files changed, 6 insertions(+) create mode 100644 test/unit/search-reverse-rightmost/missed-match/cmd create mode 100644 test/unit/search-reverse-rightmost/missed-match/in create mode 100644 test/unit/search-reverse-rightmost/missed-match/selections create mode 100644 test/unit/search-reverse-rightmost/overlap/cmd create mode 100644 test/unit/search-reverse-rightmost/overlap/in create mode 100644 test/unit/search-reverse-rightmost/overlap/selections diff --git a/test/unit/search-reverse-rightmost/missed-match/cmd b/test/unit/search-reverse-rightmost/missed-match/cmd new file mode 100644 index 00000000..2e666042 --- /dev/null +++ b/test/unit/search-reverse-rightmost/missed-match/cmd @@ -0,0 +1 @@ +(ab|baba) diff --git a/test/unit/search-reverse-rightmost/missed-match/in b/test/unit/search-reverse-rightmost/missed-match/in new file mode 100644 index 00000000..88a28c1f --- /dev/null +++ b/test/unit/search-reverse-rightmost/missed-match/in @@ -0,0 +1 @@ +ababa%(b) diff --git a/test/unit/search-reverse-rightmost/missed-match/selections b/test/unit/search-reverse-rightmost/missed-match/selections new file mode 100644 index 00000000..0e46b314 --- /dev/null +++ b/test/unit/search-reverse-rightmost/missed-match/selections @@ -0,0 +1 @@ +baba diff --git a/test/unit/search-reverse-rightmost/overlap/cmd b/test/unit/search-reverse-rightmost/overlap/cmd new file mode 100644 index 00000000..d9568408 --- /dev/null +++ b/test/unit/search-reverse-rightmost/overlap/cmd @@ -0,0 +1 @@ +... diff --git a/test/unit/search-reverse-rightmost/overlap/in b/test/unit/search-reverse-rightmost/overlap/in new file mode 100644 index 00000000..c4144a07 --- /dev/null +++ b/test/unit/search-reverse-rightmost/overlap/in @@ -0,0 +1 @@ +abcdefg%(h) diff --git a/test/unit/search-reverse-rightmost/overlap/selections b/test/unit/search-reverse-rightmost/overlap/selections new file mode 100644 index 00000000..1505b408 --- /dev/null +++ b/test/unit/search-reverse-rightmost/overlap/selections @@ -0,0 +1 @@ +efg