@Test
public void testChoice() {

	AstExpr expr = Parser.parse("a ? b : c");
	
	AstChoice cexpr = (AstChoice)expr;
	
	AstIdentifier condition  = (AstIdentifier)cexpr.getQuestion();
	AstIdentifier trueValue  = (AstIdentifier)cexpr.getYes();
	AstIdentifier falseValue = (AstIdentifier)cexpr.getNo();
	
	assertEquals("a",condition.getName());
	assertEquals("b",trueValue.getName());
	assertEquals("c",falseValue.getName());
}