1
2
import CW6a._
3
4
assert(collatz(1) == 0)
5
assert(collatz(6) == 8)
6
assert(collatz(9) == 19)
7
8