marking1/collatz_test.sh
changeset 267 9e0216756771
parent 266 ca48ac1d3c3e
child 281 87b9e3e2c1a7
equal deleted inserted replaced
266:ca48ac1d3c3e 267:9e0216756771
    17 echo "" >> $out
    17 echo "" >> $out
    18 
    18 
    19 echo "The feedback for your submission for collatz.scala" >> $out
    19 echo "The feedback for your submission for collatz.scala" >> $out
    20 echo "" >> $out
    20 echo "" >> $out
    21 
    21 
    22 # marks for CW6 part 1
    22 # marks for CW6 basic part 
    23 marks=$(( 0 ))
    23 marks=$(( 0 ))
    24 
    24 
    25 # compilation tests
    25 # compilation tests
    26 
    26 
    27 function scala_compile {
    27 function scala_compile {
   119 
   119 
   120 
   120 
   121 
   121 
   122 ## final marks
   122 ## final marks
   123 echo >> $out
   123 echo >> $out
   124 echo "Overall mark for Basic Part" | tee -a $out
   124 echo "Overall mark for the Basic Part" | tee -a $out
   125 echo " $marks" | tee -a $out
   125 echo " $marks" | tee -a $out
   126 
   126 
   127 
   127