testing/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Sun, 05 Nov 2017 12:02:09 +0000
changeset 125 dcaab8068baa
child 127 b4def82f3f9f
permissions -rw-r--r--
updated


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

assert(collatz(6) == 9)

assert(collatz(9) == 20)