main_testing5/bf_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 22 Jan 2021 10:35:50 +0000
changeset 387 6282b88511d8
parent 384 6e1237691307
child 404 bf20a9fa5c29
permissions -rw-r--r--
updated

import CW10b._

//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 == 11205)