true
6768697071727374757677
@Test public void testDecrement() { MixedRadixNumber mrn = new MixedRadixNumber(5, new int[] { 3, 2 }); int i = 0; while (mrn.decrement()) { i++; } Assert.assertEquals(i, mrn.getMaxAllowedValue()); i = 0; while (mrn.increment()) {
7576777879808182838485
Assert.assertEquals(i, mrn.getMaxAllowedValue()); i = 0; while (mrn.increment()) { i++; } while (mrn.decrement()) { i--; } Assert.assertEquals(i, mrn.intValue()); }