core_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 02 Nov 2023 11:32:10 +0000
changeset 472 6a77c260c8a5
parent 399 b17a98b0c52f
permissions -rw-r--r--
updated


def urbanmain() = {
  import C1._

  assert(collatz(1) == 0) 
  assert(collatz(6) == 8)
  assert(collatz(9) == 19)

}