summaryrefslogtreecommitdiff
path: root/test_pretty.sh
blob: 64141d43f8e7f28fe37570e7be1a8823d7eadc9e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
cd /home/a/top/work/app
echo "Testing specific sequence outputs:"
echo ""
echo "Standard output for length 2:"
cargo run --bin generate -- 2 2>&1 | grep "1\. \[" | head -1
echo ""
echo "Pretty output for length 2:"
cargo run --bin generate -- --pretty 2 2>&1 | grep "1\. \[" | head -1