marking1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 17 Nov 2018 13:33:51 +0000
changeset 207 5bbbe737184e
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)