new TestLexem(1, 0, "number", "[0-9]+"),
new TestLexem(2, 0, "empty", "()"),
};
public void testGenerator() {
LexerTables lt = LexicalBuilder.compile(INPUT1, new ProcessingStatusAdapter(new TestNotifier(), 0));
for(TestLexem tl : INPUT1) {
for(String s : tl.getSamples()) {
int res = nextToken(lt, s);
Assert.assertEquals("For "+s+" Expected " + tl.getRegexp()+ ";",tl.index, res);
}