main_testing5/bf_test5.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 23 Feb 2024 11:31:36 +0000
changeset 483 1a51207780e6
parent 475 59e005dcf163
permissions -rw-r--r--
updated
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() = {
300
72688efdf17c updated testing files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
475
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     4
  import M5b._
300
72688efdf17c updated testing files
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(jtable("""+++++[->++++++++++<]>--<+++[->>++++++++++<<]>>++<<----------[+>.>.<+<]""") == Map(69 -> 61, 5 -> 20, 60 -> 70, 27 -> 44, 43 -> 28, 19 -> 6))
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     7
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 404
diff changeset
     8
}