import junit.framework.TestCase;
public class BoundingTests extends TestCase{
public void testMultiCharTerminals() throws Exception{
Grammar g = new Parser(GrammarTests.DIR + "test_multiCharTerminal.txt").parse();
GrammarStringBounder gsb = new GrammarStringBounder();
Regexp boundedRegexp = gsb.getBoundedRegexp(g, "program", 3, false);
System.out.println(boundedRegexp);
assertTrue(!boundedRegexp.matches("AB__"));
assertTrue(boundedRegexp.matches("AB_"));