mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-24 03:39:49 +02:00
🎨 Move replays to the project root
This commit is contained in:
1 parent
12aa208217
commit
0f437c39de
11 files changed
+12
-13
No files matched your search
+4
-4
@@ -8,7 +8,7 @@ use wotbreplay_parser::replay::Replay;
|
||||
#[test]
|
||||
fn parse_ok() -> Result<()> {
|
||||
let mut replay = Replay::open(File::open(
|
||||
"tests/replays/20230429_0126__helaas_pindakaas_A140_ASTRON_REX_105_16114615898101270.wotbreplay",
|
||||
"replays/20230429_0126__helaas_pindakaas_A140_ASTRON_REX_105_16114615898101270.wotbreplay",
|
||||
)?)?;
|
||||
let data = replay.read_data()?;
|
||||
|
||||
@@ -21,7 +21,7 @@ fn parse_ok() -> Result<()> {
|
||||
#[test]
|
||||
fn base_player_create_ok() -> Result<()> {
|
||||
let mut replay = Replay::open(File::open(
|
||||
"tests/replays/20230429_0126__helaas_pindakaas_A140_ASTRON_REX_105_16114615898101270.wotbreplay",
|
||||
"replays/20230429_0126__helaas_pindakaas_A140_ASTRON_REX_105_16114615898101270.wotbreplay",
|
||||
)?)?;
|
||||
let data = replay.read_data()?;
|
||||
|
||||
@@ -69,7 +69,7 @@ fn base_player_create_ok() -> Result<()> {
|
||||
#[test]
|
||||
fn update_arena_ok() -> Result<()> {
|
||||
let mut replay = Replay::open(File::open(
|
||||
"tests/replays/20230429_0126__helaas_pindakaas_A140_ASTRON_REX_105_16114615898101270.wotbreplay",
|
||||
"replays/20230429_0126__helaas_pindakaas_A140_ASTRON_REX_105_16114615898101270.wotbreplay",
|
||||
)?)?;
|
||||
let data = replay.read_data()?;
|
||||
|
||||
@@ -97,7 +97,7 @@ fn update_arena_ok() -> Result<()> {
|
||||
|
||||
#[test]
|
||||
fn training_room_ok() -> Result<()> {
|
||||
let mut replay = Replay::open(File::open("tests/replays/training_room.wotbreplay")?)?;
|
||||
let mut replay = Replay::open(File::open("replays/training_room.wotbreplay")?)?;
|
||||
replay.read_data()?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user