garbo999 / cards

Texas Holdem Hand Analyzer
0 stars 1 forks source link

create tests with labeled hands #7

Closed garbo999 closed 7 years ago

garbo999 commented 7 years ago

The 1st test is complete ("stresstest-1.rb"). It compares our HandAnalyzer.evaluate method with the ruby-poker gem. Only problem was that we don't break out Royal Flushes from Straight Flushes.

The 2nd test will work as follows ("stresstest-2.rb"): Compare our HandAnalyzer.winner method with the ruby-poker gem. So far I am seeing a tie-break discrepancy for "high card" hands.