marking1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Sun, 31 Jan 2021 03:24:32 +0000
changeset 392 97ecdc8cb61b
parent 281 87b9e3e2c1a7
permissions -rw-r--r--
marking 5



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