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