marking1/drumb_test.sh
changeset 284 fc20e5f83f0e
parent 281 32dfd2ca577b
child 330 c5f89ee12d25
equal deleted inserted replaced
283:3102d61edf45 284:fc20e5f83f0e
   158   echo -e "    List(List(Some(-0.03573991804411003), Some(0.539974575389325)), " | tee -a $out
   158   echo -e "    List(List(Some(-0.03573991804411003), Some(0.539974575389325)), " | tee -a $out
   159   echo -e "         List(Some(0.10103414222249969), Some(0.24777764141006836)))" | tee -a $out
   159   echo -e "         List(Some(0.10103414222249969), Some(0.24777764141006836)))" | tee -a $out
   160   echo -e "" | tee -a $out
   160   echo -e "" | tee -a $out
   161   echo -e "  get_deltas(get_prices(List(\"BIDU\"), 2004 to 2008)) == " | tee -a $out
   161   echo -e "  get_deltas(get_prices(List(\"BIDU\"), 2004 to 2008)) == " | tee -a $out
   162   echo -e "    List(List(None), List(None),                          " | tee -a $out
   162   echo -e "    List(List(None), List(None),                          " | tee -a $out
   163   echo -e "         List(Some(0.9277165354330709)), List(Some(2.119679764725104)))) " | tee -a $out
   163   echo -e "         List(Some(0.9277165354330709)), List(Some(2.119679764725104)))" | tee -a $out
   164   
   164   
   165   if (scala_assert "drumb.scala" "drumb_test5.scala") 
   165   if (scala_assert "drumb.scala" "drumb_test5.scala") 
   166   then
   166   then
   167      echo "  --> success" | tee -a $out
   167      echo "  --> success" | tee -a $out
   168      marks=$(( marks + 1 ))
   168      marks=$(( marks + 1 ))