assertTrue(accepts(state,"aaaaaaaaaaa")) ;
assertTrue(accepts(state,"bbbbbbbbb")) ;
assertTrue(accepts(state,"aaabbbabbaaa")) ;
}
public void test5() {
State s = StateMachine.makeState("aa", false) ;
State t = StateMachine.makeState("bbb", false) ;
State st = StateMachine.union(s,t) ;
State state = StateMachine.closure(st) ;
assertFalse(accepts(state,"")) ;
assertFalse(accepts(state,"a")) ;
assertTrue(accepts(state,"aa")) ;
assertTrue(accepts(state,"bbb")) ;
assertFalse(accepts(state,"bbbb")) ;