--- a/main_testing5/bf_test6.scala Thu Nov 02 13:53:37 2023 +0000
+++ b/main_testing5/bf_test6.scala Thu Nov 02 23:34:53 2023 +0000
@@ -1,10 +1,14 @@
-import M5b._
-//println(optimise(load_bff("benchmark.bf")).length)
-//println(optimise(load_bff("mandelbrot.bf")).length)
+def urbanmain() = {
+
+ import M5b._
-val urban_l1 = optimise(load_bff("benchmark.bf")).length
-val urban_l2 = optimise(load_bff("mandelbrot.bf")).length
+ //println(optimise(load_bff("benchmark.bf")).length)
+ //println(optimise(load_bff("mandelbrot.bf")).length)
-assert(urban_l1 == 181)
-assert(urban_l2 == 11203)
+ 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)
+}