core_testing1/collatz_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Apr 2024 17:37:56 +0100
changeset 488 5deaf53c2faa
parent 472 6a77c260c8a5
permissions -rw-r--r--
updated


def urbanmain() = {
  import C1._

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

}