main_testing5/bf_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 23 Feb 2024 11:31:36 +0000 (11 months ago)
changeset 483 1a51207780e6
parent 475 59e005dcf163
permissions -rw-r--r--
updated

def urbanmain() = {

  import M5b._

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

  val urban_l1 = optimise(load_bff("benchmark.bf")).length
  val urban_l2 = optimise(load_bff("mandelbrot.bf")).length 

  assert(urban_l1 == 181)
  assert(urban_l2 == 11203)
}