testing5/bf_test.sh
changeset 243 9bb36426c781
parent 236 e461b5325b5e
child 261 8997430d9765
equal deleted inserted replaced
242:e6b34f617915 243:9bb36426c781
    92 
    92 
    93 
    93 
    94 
    94 
    95 if [ $tsts1 -eq 0 ]
    95 if [ $tsts1 -eq 0 ]
    96 then
    96 then
    97     echo -e " jumpRight(\"[******]***\", 1, 0) == 8" >> $out
    97     echo -e " jumpRight(\"[xxxxxx]xxx\", 1, 0) == 8" >> $out
    98     echo -e " jumpRight(\"[**[*]*]***\", 1, 0) == 8" >> $out
    98     echo -e " jumpRight(\"[xx[x]x]xxx\", 1, 0) == 8" >> $out
    99     echo -e " jumpRight(\"[**[*]*]***\", 1, 0) == 8" >> $out
    99     echo -e " jumpRight(\"[xx[x]x]xxx\", 1, 0) == 8" >> $out
   100     echo -e " jumpRight(\"[**[***]***\", 1, 0) == 11" >> $out
   100     echo -e " jumpRight(\"[xx[xxx]xxx\", 1, 0) == 11" >> $out
   101     echo -e " jumpRight(\"[*[][]*]***\", 1, 0) == 8" >> $out
   101     echo -e " jumpRight(\"[x[][]x]xxx\", 1, 0) == 8" >> $out
   102     echo -e " jumpLeft(\"[******]***\", 6, 0) == 1" >> $out
   102     echo -e " jumpLeft(\"[xxxxxx]xxx\", 6, 0) == 1" >> $out
   103     echo -e " jumpLeft(\"[******]***\", 7, 0) == -1" >> $out
   103     echo -e " jumpLeft(\"[xxxxxx]xxx\", 7, 0) == -1" >> $out
   104     echo -e " jumpLeft(\"[*[][]*]***\", 6, 0) == 1" >> $out
   104     echo -e " jumpLeft(\"[x[][]x]xxx\", 6, 0) == 1" >> $out
   105   
   105   
   106   if (scala_assert "bf.scala" "bf_test3.scala")
   106   if (scala_assert "bf.scala" "bf_test3.scala")
   107   then
   107   then
   108     echo -e "  --> success" >> $out
   108     echo -e "  --> success" >> $out
   109   else
   109   else