assertException("false(1)");
assertEquals(eval(f), false);
}
public void testIF() throws Exception {
IF i = new IF();
assertResult("if(10<100,4,5)", 4);
assertEquals(eval(i, parse("10.1>=11"), "right", "wrong"), "wrong");
assertResult("IF(3>=1,\"*\",IF(4<>1,\"first\",\"second\"))", "*");
assertResult("IF((A1+A2)<=3,\"yes\",\"no\")", "yes");
assertResult("IF(A1<A2,B1,B2)", null);