core_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Sun, 15 Sep 2024 12:57:59 +0100
changeset 493 244df77507c2
parent 472 6a77c260c8a5
permissions -rw-r--r--
updated


def urbanmain() = {
  import C1._

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

}