getMaxAllowedValue() public method

public getMaxAllowedValue ( ) : long
return long
 public void testDecrement()
 {
     MixedRadixNumber mrn = new MixedRadixNumber(5, new int[] { 3, 2 });
     int i = 0;
     while (mrn.decrement())
     {
         i++;
     }
     Assert.AreEqual(i, mrn.getMaxAllowedValue());
 }