Release 2.1.0
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / publish (push) Has been cancelled
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / publish (push) Has been cancelled
Preparing against an opponent (openings), one fixed engine search for the game review everywhere, !! and ! recalibrated on chess.com (check set of 15 games), 100 classic sample games that update with the program. Formatting by cargo fmt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
dd26e7261a
commit
262c0b1711
28 changed files with 1621 additions and 495 deletions
|
|
@ -661,7 +661,10 @@ mod tests {
|
|||
fn comments_and_variations_come_along() {
|
||||
// The Opera game of the samples has comments and a variation.
|
||||
let db = classics();
|
||||
let g = db.game(0).expect("a game");
|
||||
let g = (0..db.len())
|
||||
.map(|i| db.game(i).expect("a game"))
|
||||
.find(|g| g.nodes.iter().any(|n| n.san == "Qb8+"))
|
||||
.expect("the Opera game");
|
||||
assert!(
|
||||
g.nodes
|
||||
.iter()
|
||||
|
|
|
|||
|
|
@ -474,8 +474,8 @@ mod tests {
|
|||
// Evaluations from the PGN have no lines: nothing to show on the board.
|
||||
assert!(ke7.best.is_none() && ke7.reply_from.is_none());
|
||||
assert!(s.white.accuracy.is_some());
|
||||
// Nothing to analyse: every position has an evaluation.
|
||||
assert!(!review.start("/nonexistent".into(), String::new(), false));
|
||||
// The engine never fills in evaluations from the PGN: it would analyse the whole
|
||||
// game (GameAnalysis::begin), so nothing is started here.
|
||||
}
|
||||
|
||||
/// With the fake engine of the `uci` crate (`cargo build -p uci --bin fake_uci`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue