mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-21 02:17:02 +02:00
Break: rename author_results into author and add author.account_id
This commit is contained in:
1 parent
d2fb61425a
commit
e1d9c27bda
2 files changed
+9
-5
No files matched your search
@@ -111,9 +111,10 @@ fn author_results_ok() -> Result<()> {
|
||||
let battle_results = Replay::open(File::open("tests/replays/author_results.wotbreplay")?)?
|
||||
.read_battle_results()?;
|
||||
|
||||
assert_eq!(battle_results.author_results.credits_earned, 53623);
|
||||
assert_eq!(battle_results.author_results.combat_xp, 2370);
|
||||
assert_eq!(battle_results.author_results.damage_dealt, 1738);
|
||||
assert_eq!(battle_results.author.credits_earned, 53623);
|
||||
assert_eq!(battle_results.author.combat_xp, 2370);
|
||||
assert_eq!(battle_results.author.damage_dealt, 1738);
|
||||
assert_eq!(battle_results.author.account_id, 594778041);
|
||||
assert_eq!(battle_results.free_xp, 116);
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user