@Test public void testGet() { pack.put(card); pack.put(card2); pack.put(card3); pack.put(card4); assertTrue(pack.get() == card4); }
@Test public void testPut() { pack.put(card); pack.put(card2); pack.put(card3); pack.put(card4); assertEquals(pack.position, 4); }