1
2
3
assert(List(0,1,4).contains(CW6a.collatz(1)))
4
5
assert(CW6a.collatz(6) == 9)
6
7
assert(CW6a.collatz(9) == 20)
8
9