set -e
cargo build --example shootout-regex-dna
diff \
./examples/regexdna-output.txt \
<(./target/debug/examples/shootout-regex-dna < ./examples/regexdna-input.txt)
cargo build --example shootout-regex-dna-single
diff \
./examples/regexdna-output.txt \
<(./target/debug/examples/shootout-regex-dna-single < ./examples/regexdna-input.txt)
cargo build --example shootout-regex-dna-cheat
diff \
./examples/regexdna-output.txt \
<(./target/debug/examples/shootout-regex-dna-cheat < ./examples/regexdna-input.txt)