marking1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 17 Nov 2018 22:39:02 +0000
changeset 210 63a1376cbebd
parent 158 94b11ac19b41
child 266 ca48ac1d3c3e
permissions -rw-r--r--
updated



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