assertEquals(20, p.getExponent());
}
/** Tests the setter methods. */
public void testSetters() {
RNGPeriod p = new RNGPeriod(1, 1);
assertEquals(1.0, p.getMultiplier());
assertEquals(1, p.getBase());
assertEquals(1, p.getExponent());
p.setMultiplier(3.14);
assertEquals(3.14, p.getMultiplier(), 0.001);
assertEquals(1, p.getBase());
assertEquals(1, p.getExponent());
p.setBase(42);
assertEquals(3.14, p.getMultiplier(), 0.001);
assertEquals(42, p.getBase());
assertEquals(1, p.getExponent());
p.setExponent(420);
assertEquals(3.14, p.getMultiplier(), 0.001);
assertEquals(42, p.getBase());
assertEquals(420, p.getExponent());
}