mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-11-06 09:00:33 +01:00
Break: fix winner_team_number for a draw
This commit is contained in:
1 parent
c9a2adff4c
commit
59353a9aca
3 files changed
+19
-5
No files matched your search
@@ -117,3 +117,11 @@ fn victory_points_ok() -> Result<()> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn draw_ok() -> Result<()> {
|
||||
let battle_results = Replay::open(File::open("tests/replays/20230503_0027__helaas_pindakaas_A140_ASTRON_REX_105_2319058483532631656.wotbreplay")?)?
|
||||
.read_battle_results()?;
|
||||
assert_eq!(battle_results.winner_team_number, 0);
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user