marking/mark02b
changeset 89 fac25de665d2
parent 88 990a1531135d
child 93 21f41e08457d
equal deleted inserted replaced
88:990a1531135d 89:fac25de665d2
    91   else
    91   else
    92     echo "  --> test failed" | tee -a $out
    92     echo "  --> test failed" | tee -a $out
    93   fi
    93   fi
    94 fi
    94 fi
    95 
    95 
       
    96 if [ $tsts1 -eq 0 ]
       
    97 then
       
    98   echo " first_tour_heuristic(8, List((0,0))) found and ok?" | tee -a $out
       
    99   echo " first_tour_heuristic(50, List((0,0))) found and ok?" | tee -a $out
       
   100   
       
   101   if (scala_assert "knight3.scala.bak" "../../../marking/knight3c_test.scala")
       
   102   then
       
   103     echo "  --> success" | tee -a $out
       
   104     marks=$(( marks + 1 ))
       
   105   else
       
   106     echo "  --> test failed" | tee -a $out
       
   107   fi
       
   108 fi
    96 
   109 
    97 
   110 
    98 ## final marks
   111 ## final marks
    99 echo "Overall mark for CW 7, Part 2" | tee -a $out
   112 echo "Overall mark for CW 7, Part 2" | tee -a $out
   100 echo "$marks" | tee -a $out
   113 echo "$marks" | tee -a $out