mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-11-04 11:43:44 +01:00 
			
		
		
		
	Legger til funksjonalitet for å kikke på det første eller siste kortet i en kortstokk
This commit is contained in:
		@@ -113,4 +113,14 @@ public class ProgrammingCardDeckTest {
 | 
			
		||||
            assertTrue(fullDeck.getCards().contains(card));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void peekTop() {
 | 
			
		||||
        assertEquals(programmingCard1, testDeck.peekTop());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void peekBottom() {
 | 
			
		||||
        assertEquals(programmingCard3, testDeck.peekBottom());
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user