pre_testing1/collatz_test2.scala
changeset 345 40657f9a4e4a
parent 281 87b9e3e2c1a7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pre_testing1/collatz_test2.scala	Sat Oct 31 16:47:46 2020 +0000
@@ -0,0 +1,8 @@
+import CW6a._
+
+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))