core_marking1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 06 Jun 2024 19:14:33 +0100
changeset 489 d51cacc92480
parent 424 daf561a83ba6
permissions -rw-r--r--
updated to Scala 3



assert(C1.collatz(1) == 0)
assert(C1.collatz(6) == 8)
assert(C1.collatz(9) == 19)
assert(C1.collatz(9000) == 47)