Skip to content

Commit

Permalink
Add duel demo to frags test.
Browse files Browse the repository at this point in the history
  • Loading branch information
vikpe committed May 21, 2024
1 parent 6994ecf commit 9bab213
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/frags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ mod tests {
assert_eq!(frags_map.get("KabÏÏm"), Some(&20));
}

{
let demo_data = read("tests/files/duel_holy_vs_dago[bravado]20240426-1659.mvd")?;
let frags_map = frags(&demo_data);
assert_eq!(frags_map.len(), 2);
assert_eq!(frags_map.get("HoLy"), Some(&25));
assert_eq!(frags_map.get("äáçï"), Some(&31));
}

{
let demo_data = read("tests/files/4on4_oeks_vs_tsq[dm2]20240426-1716.mvd")?;
let frags_map = frags(&demo_data);
Expand Down

0 comments on commit 9bab213

Please sign in to comment.