testing1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 14 Nov 2017 13:14:47 +0000
changeset 144 716042628398
parent 127 testing/collatz_test1.scala@b4def82f3f9f
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)