core_marking2/docdiff_test.sh
changeset 463 0315d9983cd0
parent 424 daf561a83ba6
--- a/core_marking2/docdiff_test.sh	Sun Jan 15 10:58:13 2023 +0000
+++ b/core_marking2/docdiff_test.sh	Sat Mar 11 22:01:53 2023 +0000
@@ -88,7 +88,7 @@
 
   if (scala_assert "docdiff.scala" "docdiff_test1.scala")
   then
-      echo -e "  --> success" |  tee -a $out
+      echo -e "  --> success (+ 0.5 Marks)\n" |  tee -a $out
       marks=$(( marks + 0.5 ))
   else
       echo -e "  --> ONE OF THE TESTS FAILED\n" |  tee -a $out
@@ -111,7 +111,7 @@
 
   if (scala_assert "docdiff.scala" "docdiff_test2.scala") 
   then
-      echo -e "  --> success" |  tee -a $out
+      echo -e "  --> success (+ 1 Mark)\n" |  tee -a $out
       marks=$(( marks + 1.0 ))
   else
       echo -e "  --> ONE OF THE TESTS FAILED\n" |  tee -a $out
@@ -134,7 +134,7 @@
 
   if (scala_assert "docdiff.scala" "docdiff_test3.scala") 
   then
-      echo -e "  --> success" |  tee -a $out
+      echo -e "  --> success (+ 1 Mark)\n" |  tee -a $out
       marks=$(( marks + 1.0 ))
   else
       echo -e "  --> ONE OF THE TESTS FAILED\n" |  tee -a $out
@@ -154,7 +154,7 @@
 
   if (scala_assert "docdiff.scala" "docdiff_test4.scala") 
   then
-      echo -e "  --> success" |  tee -a $out
+      echo -e "  --> success  (+ 0.5 Marks)\n" |  tee -a $out
       marks=$(( marks + 0.5 ))
   else
       echo -e "  --> ONE OF THE TESTS FAILED\n" |  tee -a $out