Coding, Software Development, Java, Scala, Agile.
PlayingCard takes two arguments, a Suit and a Rank, both of which are enums. Out of the box, Quickcheck has no idea how to generate data values for Suit, Rank, Card, and Hand. We must write a custom generator for each one of them. The test case depends on the Hand and Result generators. The Hand