kdblocher / bridge

Contract bridge system analysis tool for making the most out of your system book.
Other
3 stars 2 forks source link

The same suit cannot be both primary and secondary #129

Closed sievers2501 closed 3 years ago

sievers2501 commented 3 years ago

The sameSuitPrimaryAndSecondary test is failing. The code should not assign a secondary suit to a suit that is already primary.

Property failed after 4 tests
{ seed: -1798111934, path: "3:0:0", endOnFailure: true }
Counterexample: [{"logs":["SQ9862 HT4 DQ972 C2"]},new Set([{"suit":"C","rank":2},{"suit":"S","rank":9},{"suit":"S","rank":6},{"suit":"S","rank":2},{"suit":"S","rank":8},{"suit":"S","rank":12},{"suit":"D","rank":7},{"suit":"H","rank":4},{"suit":"D","rank":12},{"suit":"D","rank":9},{"suit":"D","rank":2},{"suit":"H","rank":10}])]