1516171819202122232425
} @Test public void up_incrementsValue() { Counter c = new Counter(); c.up(); assertTrue(c.value() == 1); } @Test public void up_bySpecificValueIncrements() {
2223242526272829303132
} @Test public void up_bySpecificValueIncrements() { Counter c = new Counter(); c.up(5); assertTrue(c.value() == 5); } @Test public void down_decrementsValue() {