marking1/drumb_test.sh
changeset 267 9e0216756771
parent 266 ca48ac1d3c3e
child 268 e43f7e92ba26
equal deleted inserted replaced
266:ca48ac1d3c3e 267:9e0216756771
    80 ### get january tests
    80 ### get january tests
    81 
    81 
    82 if [ $tsts -eq 0 ]
    82 if [ $tsts -eq 0 ]
    83 then
    83 then
    84   echo "  get_january_data(\"GOOG\", 1980) == List()" | tee -a $out
    84   echo "  get_january_data(\"GOOG\", 1980) == List()" | tee -a $out
    85   echo "  get_january_data(\"GOOG\", 2010).head == \"2010-01-04,311.349976\"" | tee -a $out
    85   echo "  get_january_data(\"GOOG\", 2010).head == \"2010-01-04,312.204773\"" | tee -a $out
    86 
    86 
    87   if (scala_assert "drumb.scala" "drumb_test1.scala")
    87   if (scala_assert "drumb.scala" "drumb_test1.scala")
    88   then
    88   then
    89       echo "  --> success" | tee -a $out
    89       echo "  --> success" | tee -a $out
    90       marks=$(( marks + 1 ))
    90       marks=$(( marks + 1 ))