marking1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 24 Jul 2019 14:22:06 +0100
changeset 266 ca48ac1d3c3e
parent 210 63a1376cbebd
child 267 9e0216756771
permissions -rw-r--r--
updated to 2.13



assert(collatz(1) == 0)
assert(collatz(6) == 9)
assert(collatz(9) == 19)
assert(collatz(9000) == 47)


System.exit(4)