changeset 140 | ecec79b9ab25 |
parent 127 | b4def82f3f9f |
--- a/progs/collatz_sol.scala Thu Nov 09 16:34:08 2017 +0000 +++ b/progs/collatz_sol.scala Fri Nov 10 00:56:12 2017 +0000 @@ -16,16 +16,5 @@ } -// some testing harness...5 Mio pushes the envelope - -val bnds = List(2, 10, 100, 1000, 10000, 100000, - 77000, 90000, 1000000, 5000000) - -for (bnd <- bnds) { - val (steps, max) = collatz_max(bnd) - println(s"In the range of 1 - ${bnd} the number ${max} needs the maximum steps of ${steps}") } - -} -