testing1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 11 Jun 2018 14:51:17 +0100
changeset 179 bacc5ce831bf
parent 147 72f7dd1a3754
child 199 54befaf23648
permissions -rw-r--r--
updated



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

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

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