main_testing5/bf_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 24 Nov 2020 23:36:21 +0000
changeset 367 e6ae724255a8
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)