AIMA.Test.Core.Unit.Logic.Propositional.Parsing.PELexerTest.testLexBiCOnditionalExpression C# (CSharp) Method

testLexBiCOnditionalExpression() private method

private testLexBiCOnditionalExpression ( ) : void
return void
        public void testLexBiCOnditionalExpression()
        {
            PELexer pelexer = new PELexer();
            pelexer.setInput("(B11 <=> (P12 OR P21))");
            Assert.AreEqual(new Token((int)LogicTokenTypes.LPAREN, "("), pelexer
                    .nextToken());
            Assert.AreEqual(new Token((int)LogicTokenTypes.SYMBOL, "B11"), pelexer
                    .nextToken());
            Assert.AreEqual(new Token((int)LogicTokenTypes.CONNECTOR, "<=>"),
                    pelexer.nextToken());
        }
    }