main_testing3/re_test5.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 02 Nov 2023 12:37:58 +0000
changeset 473 ac79c2e534bd
parent 433 6af86ba1208f
child 475 59e005dcf163
permissions -rw-r--r--
updated

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))