marking1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 04 Nov 2020 14:55:49 +0000
changeset 350 c5ad0e3f2a6d
parent 281 87b9e3e2c1a7
permissions -rw-r--r--
updated



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