equal
deleted
inserted
replaced
147 ### yield_tests |
147 ### yield_tests |
148 |
148 |
149 if [ $tsts -eq 0 ] |
149 if [ $tsts -eq 0 ] |
150 then |
150 then |
151 echo -e " val ds = get_deltas(get_prices(List(\"GOOG\", \"AAPL\"), 2010 to 2012))" >> $out |
151 echo -e " val ds = get_deltas(get_prices(List(\"GOOG\", \"AAPL\"), 2010 to 2012))" >> $out |
152 echo -e " yearly_yield(get_deltas(ds, 100, 0)) == 125" >> $out |
152 echo -e " yearly_yield(ds, 100, 0) == 125" >> $out |
153 echo -e " yearly_yield(get_deltas(ds, 100, 1)) == 117" >> $out |
153 echo -e " yearly_yield(ds, 100, 1) == 117" >> $out |
154 |
154 |
155 if (scala_assert "drumb.scala" "drumb_test6.scala") |
155 if (scala_assert "drumb.scala" "drumb_test6.scala") |
156 then |
156 then |
157 echo -e " --> success" >> $out |
157 echo -e " --> success" >> $out |
158 else |
158 else |