Commit dbcee794 authored by Alexandru Dura's avatar Alexandru Dura
Browse files

Dump the result of a test

parent bf24e4e8
......@@ -101,7 +101,9 @@ public class EarleyParserTest {
Category[] str = {a, b, c};
EarleyParser parser = new EarleyParser(g);
assertTrue(parser.recognize(str, S));
SPPFNode root = parser.parse(str, S);
assertNotNull(root);
Util.dumpParseResult("testParse4.dot", root, g);
}
@Test public void testScottExample2() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment