@Test public void TopValueRemovedOnPop() { values.replaceTop(new BigDecimal(25)); values.pop(); assertEquals(BigDecimal.ZERO, values.peek()); }
@Test public void CanReplaceTop() { values.replaceTop(BigDecimal.TEN); assertEquals(BigDecimal.TEN, values.peek()); }