core_marking1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Apr 2024 17:37:56 +0100
changeset 488 5deaf53c2faa
parent 424 daf561a83ba6
permissions -rw-r--r--
updated



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