assertException("lower(1,1)");
assertResult("lower({1,2})", ExprError.VALUE);
}
public void testMID() throws Exception {
MID m = new MID();
assertEquals(eval(m, "Fluid Flow", 1, 5), "Fluid");
assertEquals(eval(m, "Fluid Flow", 7, 20), "Flow");
assertEquals(eval(m, "Fluid Flow", 20, 5), "");
assertEquals(eval(m, "Fluid Flow", -1, 5), ExprError.VALUE);
assertEquals(eval(m, "Fluid Flow", 0, 5), ExprError.VALUE);