assertResult("AREAS((B2:D4,E5,F6:I9))", 3.);
assertResult("AREAS(B2:D4 B2)", 1.);
}
public void testCHOOSE() throws Exception {
CHOOSE c = new CHOOSE();
assertEquals(eval(c, 1, 3, 4), 3);
assertEquals(eval(c, 2, 3, "hello"), "hello");
assertEquals(eval(c, true, 35), 35);
assertException(c, 1.2);
assertException(c, 1);