main_testing5/bf_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 25 Nov 2020 18:25:15 +0000
changeset 372 e87462c9b895
parent 348 b5b6ed38c2f2
child 384 6e1237691307
permissions -rw-r--r--
updated

import CW10b._

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

assert(optimise(load_bff("benchmark.bf")).length == 181)
assert(optimise(load_bff("mandelbrot.bf")).length == 11205)