Fixed hand evaluator LUT generation
This commit is contained in:
parent
7819b1ee27
commit
51e1f58ef9
17 changed files with 2045 additions and 660 deletions
|
|
@ -403,11 +403,8 @@ fn test_integration_data_consistency() {
|
|||
// This module provides integration tests for the advanced evaluator system,
|
||||
// ensuring compatibility and correct interaction with the holdem_core evaluator.
|
||||
|
||||
use holdem_core::card::PackedCard;
|
||||
use holdem_core::evaluator::integration::{EvaluatorComparison, MathEvaluator};
|
||||
use holdem_core::evaluator::tables::JumpTable;
|
||||
use holdem_core::evaluator::{HandRank, HandValue};
|
||||
use holdem_core::{Card, Hand};
|
||||
use holdem_core::evaluator::integration::MathEvaluator;
|
||||
use holdem_core::Card;
|
||||
use std::str::FromStr;
|
||||
|
||||
/// Integration test suite for the math evaluator
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@ mod card_properties {
|
|||
((12, 3), (12, 0)), // Ace spades > Ace hearts (Spades=4 > Hearts=3)
|
||||
((12, 0), (12, 1)), // Ace hearts > Ace diamonds (Hearts=3 > Diamonds=2)
|
||||
((12, 1), (12, 2)), // Ace diamonds > Ace clubs (Diamonds=2 > Clubs=1)
|
||||
((5, 3), (5, 0)), // Five spades > Five hearts
|
||||
((5, 0), (5, 1)), // Five hearts > Five diamonds
|
||||
((5, 1), (5, 2)), // Five diamonds > Five clubs
|
||||
((3, 3), (3, 0)), // Five spades > Five hearts
|
||||
((3, 0), (3, 1)), // Five hearts > Five diamonds
|
||||
((3, 1), (3, 2)), // Five diamonds > Five clubs
|
||||
];
|
||||
|
||||
for ((rank1, suit1), (rank2, suit2)) in test_cases {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue