main_testing5/bf_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 25 Dec 2023 01:10:55 +0100
changeset 482 769bda18a43d
parent 475 59e005dcf163
permissions -rw-r--r--
updated jars
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
475
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     1
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     2
def urbanmain() = {
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     3
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     4
  import M5a._
236
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
475
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     6
  assert(load_bff("benchmark.bf").length == 188)
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     7
  assert(load_bff("foobar.bf") == "")
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     8
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     9
}