marking/trade_test1.scala
changeset 64 d6f97b562424
equal deleted inserted replaced
63:d325bce7b692 64:d6f97b562424
       
     1 //println("starting test now")
       
     2 
       
     3 assert(trade_times(List(3.0, 7.0, 2.0, 4.0)) == (2, 3))
       
     4 
       
     5 assert(trade_times(List(28.0, 18.0, 20.0, 26.0, 24.0)) == (1, 3))
       
     6