@Test public void increase_givenFirst0_givenLast0_givenFull_makesSize2() throws Exception { buildStack(0, 0, 1); int[] expected = {1, 0}; increase(); assertStack(0, 0, 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();  }