From febc33fd5272834b5290aeb9d8e3638aca886cda Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 13 Nov 2021 13:03:16 +0100 Subject: add tests for Trio parsing --- tests/logs/trio-20210501.zevtc | Bin 0 -> 3401163 bytes tests/parsing.rs | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 tests/logs/trio-20210501.zevtc (limited to 'tests') diff --git a/tests/logs/trio-20210501.zevtc b/tests/logs/trio-20210501.zevtc new file mode 100644 index 0000000..1cfee9c Binary files /dev/null and b/tests/logs/trio-20210501.zevtc differ diff --git a/tests/parsing.rs b/tests/parsing.rs index 49e6fe9..415c3e6 100644 --- a/tests/parsing.rs +++ b/tests/parsing.rs @@ -114,6 +114,24 @@ test! { ], } +test! { + name: parse_bandit_trio, + log: "logs/trio-20210501.zevtc", + boss: Encounter::BanditTrio, + players: &[ + (2, ":Dunje.4863", "Pallida Howhite", Warrior, Some(Berserker)), + (2, ":Straimer.1093", "Deepfreeze Myself", Elementalist, Some(Weaver)), + (2, ":Alninio.5964", "Daedhur", Necromancer, Some(Reaper)), + (2, ":Luigi.8076", "Phantasmal Ficus", Mesmer, Some(Chronomancer)), + (2, ":Subi.8014", "Juvenile Subi", Ranger, Some(Druid)), + (3, ":xyoz.6710", "Xaphy", Engineer, Some(Holosmith)), + (3, ":Ashe.2473", "Dust Of Stance", Revenant, Some(Renegade)), + (3, ":neko.9741", "Cat Of Jormag", Engineer, Some(Holosmith)), + (3, ":Snake.9125", "Matis Dorei", Guardian, Some(Firebrand)), + (3, ":eupneo.1036", "Tormented Flame", Revenant, Some(Renegade)), + ], +} + test! { name: parse_matthias, log: "logs/matthias-20200421.zevtc", -- cgit v1.2.3