116117118119120121122123124125
assertEquals(eval(n, false), 0.); assertException("n(234,2)"); } public void testNA() throws Exception { NA n = new NA(); assertEquals(eval(n), ExprError.NA); assertException("na(1)"); assertResult("na()", ExprError.NA); }