### Question:
Alterable { public void reset() { cur = Alterable.MIN; } Alterable(int max);  Alterable(int max, boolean overMax); int increase(double extrp, int increase); int increase(int increase); int decrease(double extrp, int decrease); int decrease(int decrease); void fill(); void reset(); void set(int value); void setMax(int max); int getMax(); int getCurrent(); int getPercent(); int getNeeded(int value); boolean isFull(); boolean isEmpty(); boolean isEnough(int value); static final int MIN; }### Answer:
@Test void testReset() { final Alterable alterable = new Alterable(4); alterable.set(2); assertEquals(2, alterable.getCurrent()); alterable.reset(); assertEquals(0, alterable.getCurrent()); }