--- a/main_marking3/re_test3.scala Thu Jan 13 12:55:03 2022 +0000
+++ b/main_marking3/re_test3.scala Mon Apr 11 23:55:27 2022 +0100
@@ -1,4 +1,4 @@
-import CW8c._
+import M3._
assert(simp(ZERO | ONE) == ONE)
@@ -16,6 +16,7 @@
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')))
+