main_marking5/bf_test4.scala
changeset 424 daf561a83ba6
parent 392 97ecdc8cb61b
child 463 0315d9983cd0
--- a/main_marking5/bf_test4.scala	Thu Jan 13 12:55:03 2022 +0000
+++ b/main_marking5/bf_test4.scala	Mon Apr 11 23:55:27 2022 +0100
@@ -1,10 +1,9 @@
-import CW10a._
+import M5a._
 
 assert(run("[-]", Map(0 -> 100)) == Map(0 -> 0))
 assert(run("[->+<]", Map(0 -> 10)) == Map(0 -> 0, 1 -> 10))
 assert(run("[>>+>>+<<<<-]", Map(0 -> 42)) == Map(0 -> 0, 2 -> 42, 4 -> 42))
-assert(run("++++++++++#>+***#") == Map(0 -> 10, 1 -> 1000))
-assert(run("+++>+@+@+@+@+@") == Map(0 -> 3, 1 -> 7, 4 -> 3, 5 -> 3, 6 -> 3, 7 -> 3))
+
 
 val hw_urban = """+++++[->++++++++++<]>--<+++[->>++++++++++
                   <<]>>++<<----------[+>.>.<+<]"""