changeset 199 | 54befaf23648 |
parent 147 | 72f7dd1a3754 |
child 281 | 87b9e3e2c1a7 |
--- a/testing1/collatz_test1.scala Wed Nov 07 12:08:01 2018 +0000 +++ b/testing1/collatz_test1.scala Thu Nov 08 23:42:03 2018 +0000 @@ -1,9 +1,9 @@ -assert(List(0,1,4).contains(CW6a.collatz(1))) +assert(collatz(1) == 0) -assert(CW6a.collatz(6) == 9) +assert(collatz(6) == 8) -assert(CW6a.collatz(9) == 20) +assert(collatz(9) == 19)