We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbc931 commit 80ce6b2Copy full SHA for 80ce6b2
exercises/practice/poker/tests/poker.rs
@@ -144,14 +144,14 @@ fn test_aces_can_end_a_straight_high() {
144
145
#[test]
146
#[ignore]
147
-fn test_aces_can_end_a_straight_low() {
+fn test_aces_can_start_a_straight_low() {
148
// aces can start a straight (A 2 3 4 5)
149
test(&["4S 5H 4C 8D 4H", "4D AH 3S 2D 5C"], &["4D AH 3S 2D 5C"])
150
}
151
152
153
154
-fn test_straight_cascade() {
+fn test_straight_ranks() {
155
// both hands with a straight, tie goes to highest ranked card
156
test(&["4S 6C 7S 8D 5H", "5S 7H 8S 9D 6H"], &["5S 7H 8S 9D 6H"])
157
0 commit comments