🎨 Move replays to the project root

This commit is contained in:
eigenein committed 2023-05-08 22:26:03 +02:00
1 parent 12aa208217
commit 0f437c39de
11 files changed
+12 -13

No files matched your search

+1 -2
View File
@@ -18,8 +18,7 @@ use wotbreplay_parser::models::battle_results::TeamNumber;
use wotbreplay_parser::replay::Replay;
fn main() -> Result<()> {
let battle_results = Replay::open(File::open("tests/replays/player_results.wotbreplay")?)?
.read_battle_results()?;
let battle_results = Replay::open(File::open("replays/player_results.wotbreplay")?)?.read_battle_results()?;
assert_eq!(battle_results.timestamp, 1670083956);
assert_eq!(battle_results.players.len(), 14);