testing1/collatz_test.sh
changeset 206 bbe00108a6f3
parent 199 54befaf23648
child 210 63a1376cbebd
equal deleted inserted replaced
205:940e70378d90 206:bbe00108a6f3
    35 #
    35 #
    36 echo "collatz.scala does not contain vars, returns etc?" >> $out
    36 echo "collatz.scala does not contain vars, returns etc?" >> $out
    37 
    37 
    38 if (scala_vars collatz.scala)
    38 if (scala_vars collatz.scala)
    39 then
    39 then
    40   echo "  --> fail (make tripply-sure your program conforms to the required format)" >> $out
    40   echo "  --> fail (make triple-sure your program conforms to the required format)" >> $out
    41   tsts0=$(( 0 ))
    41   tsts0=$(( 0 ))
    42 else
    42 else
    43   echo "  --> success" >> $out
    43   echo "  --> success" >> $out
    44   tsts0=$(( 0 )) 
    44   tsts0=$(( 0 )) 
    45 fi
    45 fi