marking/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 24 Jul 2019 15:18:44 +0100
changeset 267 9e0216756771
parent 64 d6f97b562424
permissions -rw-r--r--
updated myassert workaround


assert(List(0,1).contains(collatz(1)))

assert(collatz(2)==2)

assert(collatz(9)==20)

assert(collatz(9000)==48)