Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
ff89288581
commit
352940e741
1 changed files with 8 additions and 2 deletions
|
|
@ -142,7 +142,10 @@ fn sweep(variant: Variant, players: u8, reactive: bool, force_global: bool) -> C
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assert_eq!(c.games, GAMES, "{players}p {variant:?}: short cell");
|
assert_eq!(c.games, GAMES, "{players}p {variant:?}: short cell");
|
||||||
assert_eq!(c.played, GAMES, "{players}p {variant:?}: games did not finish");
|
assert_eq!(
|
||||||
|
c.played, GAMES,
|
||||||
|
"{players}p {variant:?}: games did not finish"
|
||||||
|
);
|
||||||
c
|
c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -193,6 +196,9 @@ fn main() {
|
||||||
for players in [3u8, 4] {
|
for players in [3u8, 4] {
|
||||||
let scoped = sweep(Variant::H2ScopedProblemStress, players, false, false);
|
let scoped = sweep(Variant::H2ScopedProblemStress, players, false, false);
|
||||||
let global = sweep(Variant::H2ScopedProblemStress, players, false, true);
|
let global = sweep(Variant::H2ScopedProblemStress, players, false, true);
|
||||||
println!(" {players}p {:>4} {:>4}", scoped.won, global.won);
|
println!(
|
||||||
|
" {players}p {:>4} {:>4}",
|
||||||
|
scoped.won, global.won
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue