diff options
Diffstat (limited to 'test_pretty.sh')
| -rwxr-xr-x | test_pretty.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test_pretty.sh b/test_pretty.sh new file mode 100755 index 0000000..64141d4 --- /dev/null +++ b/test_pretty.sh @@ -0,0 +1,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 |