assertEquals(eval(i, -8.9), -9);
assertResult("19.5-int(19.5)", 0.5);
}
public void testLN() throws Exception {
LN l = new LN();
for (int i = 0; i < 100; i++) {
double d = Math.random() * 1000;
assertEquals("LN not working", eval(l, d), Math.log(d));
}
}