marking/trade_test1.scala
author Christian Urban <urbanc@in.tum.de>
Fri, 22 Jun 2018 13:34:05 +0100
changeset 186 f211d9cb856e
parent 64 d6f97b562424
permissions -rw-r--r--
updated

//println("starting test now")

assert(trade_times(List(3.0, 7.0, 2.0, 4.0)) == (2, 3))

assert(trade_times(List(28.0, 18.0, 20.0, 26.0, 24.0)) == (1, 3))