main_testing5/bf_test7.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Apr 2024 17:37:56 +0100
changeset 488 5deaf53c2faa
parent 475 59e005dcf163
permissions -rw-r--r--
updated


def urbanmain() = {

  import M5b._

  //println(combine(optimise(load_bff("benchmark.bf"))).length)
  //println(combine(optimise(load_bff("mandelbrot.bf"))).length)

  assert(combine(optimise(load_bff("benchmark.bf"))).length == 134)
  assert(combine(optimise(load_bff("mandelbrot.bf"))).length == 6509)
}