#!/usr/bin/bash
cargo test
cd samples/inf_a
RUST_BACKTRACE=1 cargo run -- -s s.csv > out.hoa
cat target.hoa | autcross 'echo "%H" && cat out.hoa > %O' --language-preserved
cd ../fin_b
RUST_BACKTRACE=1 cargo run -- -s s.csv > out.hoa
cat target.hoa | autcross 'echo "%H" && cat out.hoa > %O' --language-preserved
cd ../inf_doublea
RUST_BACKTRACE=1 cargo run -- -s s.csv > out.hoa
cat target.hoa | autcross 'echo "%H" && cat out.hoa > %O' --language-preserved
cd ..
cd ..