main_marking5/bf_test4c.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 11 Mar 2023 22:01:53 +0000
changeset 463 0315d9983cd0
parent 424 main_marking5/bf_test4b.scala@daf561a83ba6
permissions -rw-r--r--
updated

import M5a._

val urban_generate = 
"""+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]"""

assert(generate("ABC".toList) == urban_generate)