Add test for Poker `test_dupicate_hands_always_tie()`
@@ -26,6 +26,16 @@ fn test_single_hand_always_wins() {
test(&["4S 5S 7H 8D JC"], &["4S 5S 7H 8D JC"])
}
+#[test]
+#[ignore]
+fn test_duplicate_hands_always_tie() {
+ let input = &["3S 4S 5D 6H JH", "3S 4S 5D 6H JH", "3S 4S 5D 6H JH"];
+ assert_eq!(
+ &winning_hands(input).expect("This test should produce Some value",),
+ input
+ )
+}
+
#[test]
#[ignore]
fn test_highest_card_of_all_hands_wins() {
