changeset 392 | 97ecdc8cb61b |
child 424 | daf561a83ba6 |
391:0930e4555b60 | 392:97ecdc8cb61b |
---|---|
1 import CW10a._ |
|
2 |
|
3 val urban_bench = |
|
4 """>+[<+++++++++++++>-]<[[>+>+<<-]>[<+>-]++++++++ |
|
5 [>++++++++<-]>.[-]<<>++++++++++[>++++++++++[>++ |
|
6 ++++++++[>++++++++++[>++++++++++[>++++++++++[>+ |
|
7 +++++++++[-]<-]<-]<-]<-]<-]<-]<-]++++++++++.""" |
|
8 |
|
9 assert(run(urban_bench, Map()) == |
|
10 Map(0 -> 10, 5 -> 0, 1 -> 0, 6 -> 0, 2 -> 0, 7 -> 0, 3 -> 0, 4 -> 0)) |