This pull request updates the GameMoveAnalysis struct. This change fixes the eval field, which can be also a negative number (when an advantage for black).
Changes Made
Modified the GameMoveAnalysis.eval field in src/model/games/mod.rs to Option<i32>.
Added a negative eval test data to the test file tests/data/response/game_json.json.
Description
This pull request updates the GameMoveAnalysis struct. This change fixes the
eval
field, which can be also a negative number (when an advantage for black).Changes Made
GameMoveAnalysis.eval
field in src/model/games/mod.rs toOption<i32>
.tests/data/response/game_json.json
.