summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest6
1 files changed, 6 insertions, 0 deletions
diff --git a/test b/test
index 972ba8c..dd8e802 100755
--- a/test
+++ b/test
@@ -9,4 +9,10 @@ for f in empty a ab abc abcd; do
exit 1
fi
done
+rm out
+
+# Check that all words, pairs, and triples in output are in original.
+orig=tests/psalms
+./markov <$orig > out
+awk -f tests/match.awk $orig out
rm out \ No newline at end of file