testing/drumb_test.sh
changeset 138 dc7aee946bf2
parent 135 e59aebee9770
equal deleted inserted replaced
137:7e0335924cfa 138:dc7aee946bf2
    98 
    98 
    99 if [ $tsts -eq 0 ]
    99 if [ $tsts -eq 0 ]
   100 then
   100 then
   101   echo "  yearly_yield(get_deltas(<<GOOG+AAPL 2010 - 2012>>), 100, 0) == 125" >> $out
   101   echo "  yearly_yield(get_deltas(<<GOOG+AAPL 2010 - 2012>>), 100, 0) == 125" >> $out
   102   echo "" >> $out
   102   echo "" >> $out
   103   echo "  investment(rstate_portfolio, 1978 to 2017, 100) == 30839" >> $out
   103   echo "  investment(rstate_portfolio, 1978 to 2017, 100) == 30895" >> $out
   104   echo "  investment(bchips_portfolio, 1978 to 2017, 100) == 349597" >> $out
   104   echo "  investment(bchips_portfolio, 1978 to 2017, 100) == 349597" >> $out
   105   
   105   
   106   if (scala_assert "drumb.scala" "drumb_test3.scala") 
   106   if (scala_assert "drumb.scala" "drumb_test3.scala") 
   107   then
   107   then
   108     echo "  --> success" >> $out
   108     echo "  --> success" >> $out