marking1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 07 Dec 2017 12:04:31 +0000
changeset 163 84917f2e16cd
parent 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)