268269270271272273274275276
assertEquals(eval(o, -1), -1.); assertEquals(eval(o, -2), -3.); } public void testPI() throws Exception { PI p = new PI(); assertEquals(eval(p), Math.PI); assertException("pi(23)"); }