main_marking5/bf_test4c.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 06 Jun 2024 19:14:33 +0100
changeset 489 d51cacc92480
parent 463 0315d9983cd0
permissions -rw-r--r--
updated to Scala 3

import M5a._

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

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