marking1/collatz_test1.scala
changeset 158 94b11ac19b41
child 210 63a1376cbebd
equal deleted inserted replaced
157:15f1fca879c5 158:94b11ac19b41
       
     1 
       
     2 
       
     3 assert(List(0,1,4).contains(CW6a.collatz(1)))
       
     4 assert(CW6a.collatz(6) == 9)
       
     5 assert(CW6a.collatz(9) == 20)
       
     6 assert(CW6a.collatz(9000) == 48)
       
     7 
       
     8