marking1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 27 Nov 2017 01:15:36 +0000
changeset 158 94b11ac19b41
child 210 63a1376cbebd
permissions -rw-r--r--
updated



assert(List(0,1,4).contains(CW6a.collatz(1)))
assert(CW6a.collatz(6) == 9)
assert(CW6a.collatz(9) == 20)
assert(CW6a.collatz(9000) == 48)