core_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 23 Dec 2022 16:59:59 +0000
changeset 457 9cf317975ae7
parent 399 b17a98b0c52f
child 472 6a77c260c8a5
permissions -rw-r--r--
updated


import C1._

assert(collatz(1) == 0) 
assert(collatz(6) == 8)
assert(collatz(9) == 19)