main_testing3/re_test5.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 06 Mar 2024 18:20:25 +0000
changeset 484 c4561fc667b7
parent 475 59e005dcf163
permissions -rw-r--r--
test


def urbanmain() = {

  import M3._

  assert(flts(List(CHAR('a'), ZERO, ONE), Nil) == List(ZERO))
  assert(flts(List(CHAR('a'), ONE, ONE, CHAR('b')), Nil) == List(CHAR('a'), CHAR('b')))
  assert(flts(List(ONE ~ CHAR('a'), CHAR('b') ~ ONE), Nil) == List(ONE, CHAR('a'), CHAR('b'), ONE))

}