@Test
public void testCostOf() {
List<Card> cards = new ArrayList<Card>(Arrays.asList(
//He may play the jack of diamonds
new Card(Rank.RANK_JACK, Suit.DIAMONDS),
//He may lay the queen of spades
new Card(Rank.RANK_QUEEN, Suit.SPADES),
//He may conceal a king in his hand
//While the memory of it fades
new Card(Rank.RANK_KING, Suit.CLUBS)
));
assertEquals(30, Deck.costOf(cards));
cards.add(new Card(Rank.RANK_6, Suit.DIAMONDS));
assertEquals(36, Deck.costOf(cards));
}