Object actual = ((Tree)rstruct.getTree()).toStringTree();
Object expecting = "(+ (BLOCK (ALT A) (ALT B)))";
assertEquals("testing rule ebnf", expecting, actual);
} @Test public void test_element1() throws Exception {
// gunit test on line 129
RuleReturnScope rstruct = (RuleReturnScope)execParser("element", "~A", 129);
Object actual = ((Tree)rstruct.getTree()).toStringTree();
Object expecting = "(~ (SET A))";
assertEquals("testing rule element", expecting, actual);
}