✅ Add the benchmark

This commit is contained in:
eigenein committed 2023-05-08 22:43:28 +02:00
1 parent 0f437c39de
commit 2d2c85c18a
13 files changed
+46 -20

No files matched your search

+1 -1
View File
@@ -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);