@Test public void increase_givenFirst0_givenLast4_givenFull_makesSize10() throws Exception { buildStack(0, 4, 2, 9, 0, 3, 5); int[] expected = {0, 0, 2, 9, 0, 3, 5, 0, 0, 0}; increase(); assertStack(2, 6, expected); }
public void increase() { }
SymmetricStack { public void increase() { } }
SymmetricStack { public void increase() { } SymmetricStack(); }
SymmetricStack { public void increase() { } SymmetricStack(); int getFirst(); void setFirst(int first); int getLast(); void setLast(int last); int[] getData(); void setData(int[] data); int getNumberOfElements(); void increase(); void decrease(); boolean isEmpty(); boolean isFull(); void prepend(int x); void append(int x); void removeFirst(); void removeLast(); @Override String toString(); }
SymmetricStack { public void increase() { } SymmetricStack(); int getFirst(); void setFirst(int first); int getLast(); void setLast(int last); int[] getData(); void setData(int[] data); int getNumberOfElements(); void increase(); void decrease(); boolean isEmpty(); boolean isFull(); void prepend(int x); void append(int x); void removeFirst(); void removeLast(); @Override String toString();  }