marking/collatz_test1.scala
changeset 64 d6f97b562424
equal deleted inserted replaced
63:d325bce7b692 64:d6f97b562424
       
     1 
       
     2 assert(List(0,1).contains(collatz(1)))
       
     3 
       
     4 assert(collatz(2)==2)
       
     5 
       
     6 assert(collatz(9)==20)
       
     7 
       
     8 assert(collatz(9000)==48)
       
     9