testing1/collatz_test1.scala
changeset 281 87b9e3e2c1a7
parent 199 54befaf23648
equal deleted inserted replaced
280:a057dc4457fc 281:87b9e3e2c1a7
     1 
     1 
       
     2 import CW6a._
     2 
     3 
     3 assert(collatz(1) == 0)
     4 assert(collatz(1) == 0) 
     4 
       
     5 assert(collatz(6) == 8)
     5 assert(collatz(6) == 8)
     6 
       
     7 assert(collatz(9) == 19)
     6 assert(collatz(9) == 19)
     8 
     7 
     9 
     8