testing/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 07 Nov 2017 13:08:18 +0000
changeset 127 b4def82f3f9f
parent 125 dcaab8068baa
permissions -rw-r--r--
updated


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

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

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