marking/mark02b
changeset 88 990a1531135d
parent 87 9384b8c98014
child 89 fac25de665d2
equal deleted inserted replaced
87:9384b8c98014 88:990a1531135d
    78   else
    78   else
    79     echo "  --> test failed" | tee -a $out
    79     echo "  --> test failed" | tee -a $out
    80   fi
    80   fi
    81 fi
    81 fi
    82 
    82 
       
    83 if [ $tsts1 -eq 0 ]
       
    84 then
       
    85   echo " first_closed_tour_heuristic(6, List((3, 3))) found and ok?" | tee -a $out
       
    86   
       
    87   if (scala_assert "knight3.scala.bak" "../../../marking/knight3b_test.scala")
       
    88   then
       
    89     echo "  --> success" | tee -a $out
       
    90     marks=$(( marks + 1 ))
       
    91   else
       
    92     echo "  --> test failed" | tee -a $out
       
    93   fi
       
    94 fi
    83 
    95 
    84 
    96 
    85 
    97 
    86 ## final marks
    98 ## final marks
    87 echo "Overall mark for CW 7, Part 2" | tee -a $out
    99 echo "Overall mark for CW 7, Part 2" | tee -a $out