mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-28 12:49:47 +01:00
✅ Add the benchmark
This commit is contained in:
1 parent
0f437c39de
commit
2d2c85c18a
13 files changed
+46
-20
No files matched your search
@@ -18,7 +18,7 @@ use wotbreplay_parser::models::battle_results::TeamNumber;
|
||||
use wotbreplay_parser::replay::Replay;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let battle_results = Replay::open(File::open("replays/player_results.wotbreplay")?)?.read_battle_results()?;
|
||||
let battle_results = Replay::open(File::open("replays/20221203_player_results.wotbreplay")?)?.read_battle_results()?;
|
||||
|
||||
assert_eq!(battle_results.timestamp, 1670083956);
|
||||
assert_eq!(battle_results.players.len(), 14);
|
||||
|
||||
Reference in new issue
Block a user