equal
deleted
inserted
replaced
228 # first-closed-tour test |
228 # first-closed-tour test |
229 |
229 |
230 if [ $tsts1 -eq 0 ] |
230 if [ $tsts1 -eq 0 ] |
231 then |
231 then |
232 echo -e "For testing needs to take 10 seconds or less to execute: " >> $out |
232 echo -e "For testing needs to take 10 seconds or less to execute: " >> $out |
233 echo -e " first_closed_tour_heuristic(6, List((3,3))) found and correct?" >> $out |
233 echo -e " first_closed_tour_heuristics(6, List((3,3))) found and correct?" >> $out |
234 |
234 |
235 if (scala_assert_quick "knight2.scala" "knight_test7.scala") |
235 if (scala_assert_quick "knight2.scala" "knight_test7.scala") |
236 then |
236 then |
237 echo -e " --> success" >> $out |
237 echo -e " --> success" >> $out |
238 else |
238 else |
243 |
243 |
244 |
244 |
245 if [ $tsts1 -eq 0 ] |
245 if [ $tsts1 -eq 0 ] |
246 then |
246 then |
247 echo -e "For testing needs to take 10 seconds or less to execute: " >> $out |
247 echo -e "For testing needs to take 10 seconds or less to execute: " >> $out |
248 echo -e " first_tour_heuristic(8, List((0,0))) found and correct?" >> $out |
248 echo -e " first_tour_heuristics(8, List((0,0))) found and correct?" >> $out |
249 echo -e " first_tour_heuristic(30, List((0,0))) found and correct?" >> $out |
249 echo -e " first_tour_heuristics(30, List((0,0))) found and correct?" >> $out |
250 |
250 |
251 if (scala_assert_quick "knight2.scala" "knight_test8.scala") |
251 if (scala_assert_quick "knight2.scala" "knight_test8.scala") |
252 then |
252 then |
253 echo -e " --> success" >> $out |
253 echo -e " --> success" >> $out |
254 else |
254 else |
296 if [ $tsts1 -eq 0 ] |
296 if [ $tsts1 -eq 0 ] |
297 then |
297 then |
298 echo -e "For testing needs to take 10 seconds or less to execute: " >> $out |
298 echo -e "For testing needs to take 10 seconds or less to execute: " >> $out |
299 echo -e " tour_on_mega_board(70, List((0,0))) found and correct?" >> $out |
299 echo -e " tour_on_mega_board(70, List((0,0))) found and correct?" >> $out |
300 |
300 |
301 if (scala_assert_quick "knight3.scala" "knight_test9.scala") |
301 if (scala_assert_slow "knight3.scala" "knight_test9.scala") |
302 then |
302 then |
303 echo -e " --> success" >> $out |
303 echo -e " --> success" >> $out |
304 else |
304 else |
305 echo -e " --> \n ONE TEST FAILED\n" >> $out |
305 echo -e " --> \n ONE TEST FAILED\n" >> $out |
306 fi |
306 fi |