testing1/collatz_test2.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 03 Nov 2018 11:07:44 +0000
changeset 195 fc3ac7b70a06
parent 144 716042628398
child 199 54befaf23648
permissions -rw-r--r--
updated



assert(CW6a.collatz_max(10) == (20, 9))

assert(CW6a.collatz_max(100) == (119, 97))

assert(CW6a.collatz_max(1000) == (179, 871))

assert(CW6a.collatz_max(10000) == (262, 6171))

assert(CW6a.collatz_max(100000) == (351, 77031))

assert(CW6a.collatz_max(1000000) == (525, 837799))