diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-08-31 15:21:55 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-08-31 15:28:31 -0400 |
| commit | 84e452f5665cbeac02f41dd30b9e43556f12b178 (patch) | |
| tree | 5b08386b1f78152daf4f39afa56c37c7f3701c3c /test | |
| parent | 29c1c728b20c838bc94c7342f4664e5ecbdac113 (diff) | |
| download | markov-84e452f5665cbeac02f41dd30b9e43556f12b178.zip | |
test randomness of suffix selection
Diffstat (limited to 'test')
| -rwxr-xr-x | test | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -15,4 +15,8 @@ rm out orig=tests/psalms ./markov <$orig > out awk -f tests/match.awk $orig out -rm out
\ No newline at end of file +rm out + +# Check that the output has a similar ratio of c's and d's to test randomness of +# suffix selection. +./markov <tests/stats | freq -c | awk -f tests/stats.awk |