[Solved] C# Poker Test Case Potential Error?

So in the poker exercise, there is a test case that uses a straight flush (hand where the value of each card is of sequential rank). The test case uses the values (2, 4, 5, 6, 7), but shouldn’t this be (2, 3, 4, 5, 6)? Let me know if I’m not understanding the poker hand correctly.


The left one is a Straight 4C 5H 6H 7D 8D while the right one is just a Flush (not a Straight-Flush). But Flush still beats the Straight.

Ahh thanks, I misinterpreted the test case as Straight Flush beats a Straight. Thanks!