mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-24 03:39:49 +02:00
✨ Add more maps, fix the enum
This commit is contained in:
1 parent
1313bc82f7
commit
da0646f40a
8 files changed
+45
-5
No files matched your search
+2
-1
@@ -3,6 +3,7 @@
|
||||
use std::fs::File;
|
||||
|
||||
use anyhow::Result;
|
||||
use wotbreplay_parser::models::map_id::MapId;
|
||||
use wotbreplay_parser::replay::Replay;
|
||||
|
||||
#[test]
|
||||
@@ -14,7 +15,7 @@ fn meta_ok() -> Result<()> {
|
||||
assert_eq!(meta.arena_unique_id, "1661909200500084");
|
||||
assert_eq!(meta.battle_duration_secs, 164.08485);
|
||||
assert_eq!(meta.tank_id, 26657);
|
||||
// TODO: assert_eq!(meta.map_id);
|
||||
assert_eq!(meta.map_id, MapId::DynastyPearl);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user