main_marking3/re_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 16 Jul 2021 23:34:19 +0100
changeset 394 839ad118e467
parent 390 175a950470a9
child 424 daf561a83ba6
permissions -rw-r--r--
updated

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)