equal
deleted
inserted
replaced
98 echo -e " --> ONE OF THE TESTS FAILED\n" >> $out |
98 echo -e " --> ONE OF THE TESTS FAILED\n" >> $out |
99 fi |
99 fi |
100 fi |
100 fi |
101 |
101 |
102 |
102 |
|
103 ### last-odd tests |
|
104 |
|
105 if [ $tsts -eq 0 ] |
|
106 then |
|
107 echo -e " last_odd(113) == 85" >> $out |
|
108 echo -e " last_odd(84) == 21" >> $out |
|
109 echo -e " last_odd(605) == 341" >> $out |
|
110 |
|
111 if (scala_assert "collatz.scala" "collatz_test3.scala") |
|
112 then |
|
113 echo -e " --> success" >> $out |
|
114 else |
|
115 echo -e " --> ONE OF THE TESTS FAILED\n" >> $out |
|
116 fi |
|
117 fi |