public void LLConfStackConstructorTest() { CharSymbol chSym = new CharSymbol('A'); var stack = new Stack <DfaState <CharSymbol> >(); stack.Push(states["A1"]); stack.Push(states["A2"]); var imList = ImmutableList.Create(states["A1"], states["A2"]); var ll = new LlConfiguration <CharSymbol>(chSym, stack); Console.WriteLine("LL -> " + ll); Assert.AreEqual(chSym, ll.label); Assert.AreEqual(imList, ll.stack); }