author | Christian Urban <christian.urban@kcl.ac.uk> |
Thu, 02 Nov 2023 12:37:58 +0000 | |
changeset 473 | ac79c2e534bd |
parent 460 | 39ec5c112312 |
child 475 | 59e005dcf163 |
permissions | -rw-r--r-- |
404 | 1 |
import M5b._ |
263 | 2 |
|
348 | 3 |
//println(optimise(load_bff("benchmark.bf")).length) |
4 |
//println(optimise(load_bff("mandelbrot.bf")).length) |
|
5 |
||
384 | 6 |
val urban_l1 = optimise(load_bff("benchmark.bf")).length |
7 |
val urban_l2 = optimise(load_bff("mandelbrot.bf")).length |
|
8 |
||
9 |
assert(urban_l1 == 181) |
|
460 | 10 |
assert(urban_l2 == 11203) |