core_testing1/collatz_test2.scala
changeset 472 6a77c260c8a5
parent 399 b17a98b0c52f
--- a/core_testing1/collatz_test2.scala	Wed Nov 01 15:01:32 2023 +0000
+++ b/core_testing1/collatz_test2.scala	Thu Nov 02 11:32:10 2023 +0000
@@ -1,8 +1,12 @@
-import C1._
+
+def urbanmain() = {
+
+  import C1._
 
-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))
+  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))
+}