[core] Fix an incorrect assertion in the Score doc test
Negate with - instead of with !.
This commit is contained in:
parent
b505606925
commit
146e4d34d3
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ impl Score {
|
|||
///
|
||||
/// ```
|
||||
/// use chessfriend_core::score::Score;
|
||||
/// assert_eq!(!Score::MIN, Score::MAX);
|
||||
/// assert_eq!(-Score::MIN, Score::MAX);
|
||||
/// ```
|
||||
///
|
||||
pub const MIN: Score = Score(Value::MIN + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue