Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
t4ccer committed Dec 21, 2023
1 parent a306e2d commit ec37999
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/short/partizan/games/amazons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ mod tests {

macro_rules! test_canonical_form {
($input:expr, $output:expr) => {{
let tt = TranspositionTable::new();
let tt = ParallelTranspositionTable::new();
let pos: Amazons = amazons!($input);
let cf = pos.canonical_form(&tt);
let expected = CanonicalForm::from_str($output).unwrap().to_string();
Expand Down
2 changes: 1 addition & 1 deletion src/short/partizan/games/fission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ mod tests {

macro_rules! test_canonical_form {
($input:expr, $output:expr) => {{
let tt = TranspositionTable::new();
let tt = ParallelTranspositionTable::new();
let pos: Fission = fission!($input);
let cf = pos.canonical_form(&tt);
assert_eq!(cf.to_string(), $output);
Expand Down
2 changes: 1 addition & 1 deletion src/short/partizan/games/ski_jumps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ mod tests {

macro_rules! test_canonical_form {
($input:expr, $output:expr) => {{
let tt = TranspositionTable::new();
let tt = ParallelTranspositionTable::new();
let pos: SkiJumps = SkiJumps::from_str($input).expect("Could not parse the game");
let cf = pos.canonical_form(&tt);
assert_eq!(cf.to_string(), $output)
Expand Down
2 changes: 1 addition & 1 deletion src/short/partizan/games/toads_and_frogs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ mod tests {

macro_rules! assert_canonical_form {
($row:expr, $cf:expr) => {
let tt = TranspositionTable::new();
let tt = ParallelTranspositionTable::new();
let cf = row!($row).canonical_form(&tt);
assert_eq!(cf, CanonicalForm::from_str($cf).unwrap());
};
Expand Down

0 comments on commit ec37999

Please sign in to comment.