Deck of cards with shuffle, draw and sort
Model a deck of playing cards with classes for cards and the deck. Implement a fair shuffle (every order equally likely, Fisher-Yates), drawing cards, and putting the deck back in order by rank and suit. Discuss how you would test that the shuffle is fair.
No answer yet. Write the first one; the best answer gets endorsed.
