core_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 06 Jun 2024 19:14:33 +0100
changeset 489 d51cacc92480
parent 472 6a77c260c8a5
permissions -rw-r--r--
updated to Scala 3


def urbanmain() = {
  import C1._

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

}