diff -r b528d1d3d3c3 -r 59e005dcf163 main_testing3/re_test5.scala --- a/main_testing3/re_test5.scala Thu Nov 02 13:53:37 2023 +0000 +++ b/main_testing3/re_test5.scala Thu Nov 02 23:34:53 2023 +0000 @@ -1,6 +1,11 @@ -import M3._ + +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)) + 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)) +} +