pre_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 18 Jan 2021 22:12:39 +0000
changeset 386 e2170c91a9f2
parent 345 40657f9a4e4a
permissions -rw-r--r--
added marking


import CW6a._

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