assert(List(0,1,4).contains(CW6a.collatz(1))) assert(CW6a.collatz(6) == 9) assert(CW6a.collatz(9) == 20)