--- a/core_marking3/postfix_test.sh Sun Jan 15 10:58:13 2023 +0000
+++ b/core_marking3/postfix_test.sh Sat Mar 11 22:01:53 2023 +0000
@@ -86,7 +86,7 @@
if (scala_assert "postfix.scala" "postfix_test1.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
@@ -106,7 +106,7 @@
if (scala_assert "postfix.scala" "postfix_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
@@ -126,7 +126,7 @@
if (scala_compile postfix2.scala)
then
- echo -e " --> success" | tee -a $out
+ echo -e " --> success\n" | tee -a $out
tsts=$(( 0 ))
else
echo -e " --> SCALA DID NOT RUN postfix2.scala\n" | tee -a $out
@@ -145,7 +145,7 @@
echo -e " --> FAIL\n" | tee -a $out
tsts=$(( 1 ))
else
- echo -e " --> success" | tee -a $out
+ echo -e " --> success\n" | tee -a $out
tsts=$(( 0 ))
fi
else
@@ -166,7 +166,7 @@
if (scala_assert "postfix2.scala" "postfix_test3.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
@@ -188,7 +188,7 @@
if (scala_assert "postfix2.scala" "postfix_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