changeset 392 | 97ecdc8cb61b |
child 424 | daf561a83ba6 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main_marking5/bf_test4b.scala Sun Jan 31 03:24:32 2021 +0000 @@ -0,0 +1,10 @@ +import CW10a._ + +val urban_bench = +""">+[<+++++++++++++>-]<[[>+>+<<-]>[<+>-]++++++++ + [>++++++++<-]>.[-]<<>++++++++++[>++++++++++[>++ + ++++++++[>++++++++++[>++++++++++[>++++++++++[>+ + +++++++++[-]<-]<-]<-]<-]<-]<-]<-]++++++++++.""" + +assert(run(urban_bench, Map()) == + Map(0 -> 10, 5 -> 0, 1 -> 0, 6 -> 0, 2 -> 0, 7 -> 0, 3 -> 0, 4 -> 0))