✨ Add more maps, fix the enum

This commit is contained in:
eigenein committed 2023-05-13 20:37:05 +02:00
1 parent 1313bc82f7
commit da0646f40a
8 files changed
+45 -5

No files matched your search

+2 -1
View File
@@ -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(())
}