--- a/main_testing3/re_test3.scala Mon Nov 08 01:16:13 2021 +0000
+++ b/main_testing3/re_test3.scala Mon Nov 08 01:39:00 2021 +0000
@@ -1,4 +1,4 @@
-import CW8c._
+import M3._
assert(simp(ZERO | ONE) == ONE)
@@ -16,6 +16,6 @@
assert(simp((ZERO | ((ZERO | ZERO) | (ZERO | ZERO))) ~ ((ONE | ZERO) | ONE ) ~ (CHAR('a'))) == ZERO)
assert(simp(ALT(ONE | ONE, ONE | ONE)) == ONE)
assert(simp(ALT(ZERO | CHAR('a'), CHAR('a') | ZERO)) == CHAR('a'))
-assert(simp(ALT(ONE | CHAR('a'), CHAR('a') | ONE)) == ALT(ONE | CHAR('a'), CHAR('a') | ONE))
+assert(simp(ALT(ONE | CHAR('a'), CHAR('a') | ONE)) == ALT(ONE, CHAR('a')))