From: Lucas K Date: Tue, 22 Dec 2020 20:15:31 +0000 (-0800) Subject: added friendly printout of number of test runs to be performed in test script X-Git-Url: https://s3miclassical.com/gitweb/?a=commitdiff_plain;h=80be7df8ce66a1b551377a69d9d143411c934ee0;p=strong_simulation_gauss_sum_rank.git added friendly printout of number of test runs to be performed in test script --- diff --git a/test.bash b/test.bash index 3e5d698..5c6ab72 100644 --- a/test.bash +++ b/test.bash @@ -12,8 +12,9 @@ numTgates=4 numPaulis=1 # we want numPaulis to be 1 for the loop below -numruns=1000 +numruns=20 +echo "Starting test of $numruns random Pauli expectation values..." for i in $(seq 1 $numruns) do sleep 1;a=$(stdbuf -oL ./randommultipleinputPaulis $numqubits $numTgates $numPaulis > inputPaulis.txt && $gausssumcode < inputPaulis.txt | tail -1) @@ -27,3 +28,4 @@ do break fi done +echo "Test passed!"