pre_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 31 Oct 2020 16:47:46 +0000
changeset 345 40657f9a4e4a
parent 281 testing1/collatz_test1.scala@87b9e3e2c1a7
permissions -rw-r--r--
updated


import CW6a._

assert(collatz(1) == 0) 
assert(collatz(6) == 8)
assert(collatz(9) == 19)