testing1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 14 Nov 2017 22:19:04 +0000
changeset 146 61d9a5ac6430
parent 144 716042628398
child 147 72f7dd1a3754
permissions -rw-r--r--
updated


assert(List(0,1,4).contains(CW6a.collatz(1)))

assert(CW6a.collatz(6) == 9)

assert(CW6a.collatz(9) == 20)