@Test public void isEmpty_givenFirstNotN1_returnsFalse() throws Exception { setFirst(2); assertIsEmpty(false); }
public void setFirst(int first) { this.first = first; }
SymmetricStack { public void setFirst(int first) { this.first = first; } }
SymmetricStack { public void setFirst(int first) { this.first = first; } SymmetricStack(); }
SymmetricStack { public void setFirst(int first) { this.first = first; } 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 setFirst(int first) { this.first = first; } 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();  }