public void It_should_identify_hand_is_pair()
 {
     PokerHand hand = new PokerHand("2H 4S 4C 5D KH");
     Assert.IsTrue(hand.IsPair());
 }
 public void It_should_identify_hand_is_four_of_a_kind()
 {
     PokerHand hand = new PokerHand("2H 2S 2C 2D KH");
     Assert.IsTrue(hand.IsFourOfAKind());
 }
 public void It_should_identify_hand_is_not_four_of_a_kind()
 {
     PokerHand hand = new PokerHand("2H 2S AC 3D KH");
     Assert.IsFalse(hand.IsFourOfAKind());
 }
 public void It_should_sort_hand()
 {
     var unsortedHand = "2H 5S KH 4C 3D";
     string[] sortedHand = "2H 3D 4C 5S KH".Split(' ');
     PokerHand hand = new PokerHand(unsortedHand);
     Assert.AreEqual(sortedHand, hand.Hand);
 }