X-Git-Url: https://s3miclassical.com/gitweb/?p=strong_simulation_stabilizer_rank.git;a=blobdiff_plain;f=test.bash;fp=test.bash;h=841e28fd09829d9142693b03ddff90d4dbbcfb20;hp=243d0991da0eff632ca5298d4ca593ce7d61ef66;hb=42726af60eeb4a5f06f12526f7b7e8ec4a35cbe4;hpb=f149e87354b31a8e638102aca3fc599552370cf4 diff --git a/test.bash b/test.bash index 243d099..841e28f 100644 --- a/test.bash +++ b/test.bash @@ -17,7 +17,6 @@ sleep 1;a=$(stdbuf -oL ./randominputPauli $numqubits $numTgates > inputfullPauli b=$(stdbuf -oL ./multipauli < inputfullPauli.txt | tail -n1) are=$(echo "$a" | cut -f 1 -d " " | cut -c 1-5); aim=$(echo "$a" | cut -f 3 -d " " | cut -c 1-5); aimsign=$(echo $a | cut -f 2 -d " "); bimsign=$(echo $b | cut -f 2 -d " "); -echo $aimsign; bre=$(echo "$b" | cut -f 1 -d " " | cut -c 1-5); bim=$(echo "$b" | cut -f 3 -d " " | cut -c 1-5); echo "$i: $are $aimsign $aim and $bre $bimsign $bim" if [ "$are" == "$bre" ] && [ "$aim" == "$bim" ] && [ "$aimsign" == "$bimsign" ] @@ -25,7 +24,7 @@ then continue else echo "NOT EQUAL!" -break +exit fi done echo "Test passed!"