1011121314151617181920
public RecyclingPileTest(String s) { super(s); } public void testRemove() { RecyclingPile rp = new RecyclingPile(); rp.addAll(PileOfCards.getStandardDeck()); int size = rp.size(); for (int i = 0; i < size - 1; i++) { rp.recycle(rp.takeTop()); }