AIMA.Test.Core.Unit.Logic.FOL.Parsing.FOLLexerTest.testFunctions C# (CSharp) 메소드

testFunctions() 개인적인 메소드

private testFunctions ( ) : void
리턴 void
        public void testFunctions()
        {
            lexer.setInput(" LeftLeg(q)");
            Assert.AreEqual(new Token((int)LogicTokenTypes.FUNCTION, "LeftLeg"),
                    lexer.nextToken());
            Assert.AreEqual(new Token((int)LogicTokenTypes.LPAREN, "("), lexer
                    .nextToken());
            Assert.AreEqual(new Token((int)LogicTokenTypes.VARIABLE, "q"), lexer
                    .nextToken());
            Assert.AreEqual(new Token((int)LogicTokenTypes.RPAREN, ")"), lexer
                    .nextToken());
            Assert.AreEqual(new Token((int)LogicTokenTypes.EOI, "EOI"), lexer
                    .nextToken());
        }