testing1/collatz_test2.scala
author Christian Urban <urbanc@in.tum.de>
Fri, 09 Nov 2018 07:30:02 +0000
changeset 201 018b9c12ee1f
parent 199 54befaf23648
child 281 87b9e3e2c1a7
permissions -rw-r--r--
updated



assert(collatz_max(10) == (19, 9))

assert(collatz_max(100) == (118, 97))

assert(collatz_max(1000) == (178, 871))

assert(collatz_max(10000) == (261, 6171))

assert(collatz_max(100000) == (350, 77031))

assert(collatz_max(1000000) == (524, 837799))