RSpec Results

 

 

Card
should not parse invalid card
should parse rank
should parse suit
should compare based on rank
should override eql? and hash
Hand
should have 5 cards
should sort cards
should compare based on rank
(type detection)
should detect one pair
should detect two pairs
should detect three of a kind
should detect straight
should detect flush
rank comparison
should untie empty hands by highest card
should compare pair with empty hand and itself
should compare two pairs with pair and itself
should compare three of a kind with two pairs and itself
should compare straight with three of a kind and itself
should compare flush with straight and itself