main_marking3/re_test6.scala
changeset 390 175a950470a9
child 424 daf561a83ba6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main_marking3/re_test6.scala	Fri Jan 29 00:56:19 2021 +0000
@@ -0,0 +1,4 @@
+import CW8c._
+
+assert(simp(Iterator.iterate(ONE:Rexp)(r => SEQ(r, ONE | ONE)).drop(50).next) == ONE)
+assert(simp(Iterator.iterate(ONE:Rexp)(r => ALT(r, r)).drop(20).next) == ONE)