assertEquals(eval(l, 10, 1), 1.);
assertEquals(eval(l, 8, 2), 3.);
}
public void testLOG10() throws Exception {
LOG10 l = new LOG10();
for (int i = 0; i < 100; i++) {
double d = Math.random() * 1000;
assertEquals("LOG10 not working", eval(l, d), Math.log10(d));
}
}