diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-04-02 10:59:18 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-04-02 10:59:18 -0400 |
| commit | 8bd3d98cb03e0be26084ca94224b8ef4e1e15a71 (patch) | |
| tree | 9ff7b5ab23901f4a9934ee4e32c5a0c253632c5c /test | |
| parent | 1343ef5b4c922ed512ae64a86d22970ebff7155d (diff) | |
| download | markov-master.zip | |
Diffstat (limited to 'test')
| -rwxr-xr-x | test | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,6 @@ -#!/usr/bin/sh +#!/bin/sh + +set -e # Check boundary conditions with small files. Output should match input. for f in empty a ab abc abcd; do @@ -20,3 +22,5 @@ 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 + +echo ok |