aboutsummaryrefslogtreecommitdiff
path: root/tests/wvw.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wvw.rs')
-rw-r--r--tests/wvw.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/wvw.rs b/tests/wvw.rs
new file mode 100644
index 0000000..5af15c7
--- /dev/null
+++ b/tests/wvw.rs
@@ -0,0 +1,11 @@
+//! Tests for WvW log parsing.
+//!
+//! WvW logs are a bit special in some regards (no proper boss ID, players with autogenerated
+//! names), so it is good to have some basic testing for those.
+
+#[test]
+fn test_smoke() {
+ let log = "./tests/logs/wvw-20211112.zevtc";
+ let log = evtclib::process_file(log, evtclib::Compression::Zip).unwrap();
+ assert!(log.is_generic());
+}