diff options
author | Daniel Schadt <kingdread@gmx.de> | 2021-11-16 23:44:14 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2021-11-16 23:44:14 +0100 |
commit | b962896e0d31667162b0a844e3f2186707b641ad (patch) | |
tree | 80a51a0b6fcbfddfaef97b0b958769c457f4c8e9 /tests/wvw.rs | |
parent | 8e1e84cac23894f40fab49c03c782ad96d535111 (diff) | |
download | evtclib-b962896e0d31667162b0a844e3f2186707b641ad.tar.gz evtclib-b962896e0d31667162b0a844e3f2186707b641ad.tar.bz2 evtclib-b962896e0d31667162b0a844e3f2186707b641ad.zip |
Add GameMode and Log::game_mode
For a lot of applications, it can be useful to distinguish between logs
made in raids, fractals, ...
Note that we probably don't want further categorization (as for example
done in ezau).
Diffstat (limited to 'tests/wvw.rs')
-rw-r--r-- | tests/wvw.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wvw.rs b/tests/wvw.rs index 5af15c7..6ff35cf 100644 --- a/tests/wvw.rs +++ b/tests/wvw.rs @@ -8,4 +8,5 @@ fn test_smoke() { let log = "./tests/logs/wvw-20211112.zevtc"; let log = evtclib::process_file(log, evtclib::Compression::Zip).unwrap(); assert!(log.is_generic()); + assert_eq!(log.game_mode(), Some(evtclib::GameMode::WvW)); } |