From 29c1c728b20c838bc94c7342f4664e5ecbdac113 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 31 Aug 2024 15:20:11 -0400 Subject: test that all generated words, pairs, and triples also occur in the input --- test | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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 -- cgit v1.2.3