public void TestParsing08() {
var g = new Grammar(new List<Production>{
CFGParser.Production("<S> → <A> 'b'"),
CFGParser.Production("<S> → <AB>"),
CFGParser.Production("<A> → 'a'"),
CFGParser.Production("<AB> → 'a' 'b'"),
}, Nonterminal.Of("S"));
var sentences = new List<Sentence>();
sentences.Add(Sentence.FromWords("a b"));
ExecuteTest(g, sentences);
}