marking1/collatz_test1.scala
changeset 266 ca48ac1d3c3e
parent 210 63a1376cbebd
child 267 9e0216756771
equal deleted inserted replaced
265:59779ce322a6 266:ca48ac1d3c3e
     1 
     1 
     2 
     2 
     3 assert(collatz(1) == 0)
     3 assert(collatz(1) == 0)
     4 assert(collatz(6) == 8)
     4 assert(collatz(6) == 9)
     5 assert(collatz(9) == 19)
     5 assert(collatz(9) == 19)
     6 assert(collatz(9000) == 47)
     6 assert(collatz(9000) == 47)
     7 
     7 
     8 
     8 
       
     9 System.exit(4)
       
    10