testing1/collatz_test1.scala
changeset 144 716042628398
parent 127 b4def82f3f9f
child 147 72f7dd1a3754
equal deleted inserted replaced
143:11396c17cd8b 144:716042628398
       
     1 
       
     2 assert(List(0,1,4).contains(CW6a.collatz(1)))
       
     3 
       
     4 assert(CW6a.collatz(6) == 9)
       
     5 
       
     6 assert(CW6a.collatz(9) == 20)
       
     7 
       
     8