Deck.java function testing