core_marking1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 01 Nov 2022 15:03:48 +0000
changeset 428 cdfa6a293453
parent 424 daf561a83ba6
permissions -rw-r--r--
updated solutions and templates



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