public void testLexBasicExpression()
{
lexer.setInput("( P )");
Assert.AreEqual(new Token((int)LogicTokenTypes.LPAREN, "("), lexer
.nextToken());
Assert.AreEqual(new Token((int)LogicTokenTypes.CONSTANT, "P"), lexer
.nextToken());
Assert.AreEqual(new Token((int)LogicTokenTypes.RPAREN, ")"), lexer
.nextToken());
Assert.AreEqual(new Token((int)LogicTokenTypes.EOI, "EOI"), lexer
.nextToken());
}