diff options
-rw-r--r-- | src/gamedata.rs | 12 | ||||
-rw-r--r-- | tests/logs/trio-20210501.zevtc | bin | 0 -> 3401163 bytes | |||
-rw-r--r-- | tests/parsing.rs | 18 |
3 files changed, 30 insertions, 0 deletions
diff --git a/src/gamedata.rs b/src/gamedata.rs index dc035b2..06d3803 100644 --- a/src/gamedata.rs +++ b/src/gamedata.rs @@ -779,6 +779,12 @@ mod tests { ("sloth", Slothasor), ("slothasor", Slothasor), ("Slothasor", Slothasor), + ("trio", BanditTrio), + ("bandit trio", BanditTrio), + ("Trio", BanditTrio), + ("berg", BanditTrio), + ("zane", BanditTrio), + ("narella", BanditTrio), ("matthias", Matthias), ("Matthias", Matthias), ("kc", KeepConstruct), @@ -892,6 +898,12 @@ mod tests { ("sloth", Slothasor), ("slothasor", Slothasor), ("Slothasor", Slothasor), + ("berg", Berg), + ("Berg", Berg), + ("zane", Zane), + ("Zane", Zane), + ("narella", Narella), + ("Narella", Narella), ("matthias", Matthias), ("Matthias", Matthias), ("kc", KeepConstruct), diff --git a/tests/logs/trio-20210501.zevtc b/tests/logs/trio-20210501.zevtc Binary files differnew file mode 100644 index 0000000..1cfee9c --- /dev/null +++ b/tests/logs/trio-20210501.zevtc diff --git a/tests/parsing.rs b/tests/parsing.rs index 49e6fe9..415c3e6 100644 --- a/tests/parsing.rs +++ b/tests/parsing.rs @@ -115,6 +115,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", boss: Encounter::Matthias, |