testing1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 05 Dec 2017 00:34:14 +0000
changeset 162 6d25ccbb3cf2
parent 147 72f7dd1a3754
child 199 54befaf23648
permissions -rw-r--r--
marking 2



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

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

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