testing/collatz_test1.scala
changeset 125 dcaab8068baa
child 127 b4def82f3f9f
equal deleted inserted replaced
124:c45d3cd9a749 125:dcaab8068baa
       
     1 
       
     2 assert(List(0,1,4).contains(collatz(1)))
       
     3 
       
     4 assert(collatz(6) == 9)
       
     5 
       
     6 assert(collatz(9) == 20)
       
     7 
       
     8