assertEquals(eval(e, d), Math.exp(d));
}
}
public void testFACT() throws Exception {
FACT f = new FACT();
assertEquals(eval(f, 0), 1.);
assertEquals(eval(f, 1), 1.);
assertEquals(eval(f, 2), 2.);
assertEquals(eval(f, 3), 6.);
assertEquals(eval(f, 5), 120.);