testing1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 08 Nov 2018 23:42:03 +0000
changeset 199 54befaf23648
parent 147 72f7dd1a3754
child 281 87b9e3e2c1a7
permissions -rw-r--r--
updated



assert(collatz(1) == 0)

assert(collatz(6) == 8)

assert(collatz(9) == 19)