1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

add test for demo containings new decals and mallformed chat messages

This commit is contained in:
Robin Appelman 2019-08-25 23:10:48 +02:00
commit c529abc6fb
3 changed files with 6 additions and 0 deletions

BIN
data/decal.dem Normal file

Binary file not shown.

1
data/decal.json Normal file

File diff suppressed because one or more lines are too long

View file

@ -61,6 +61,11 @@ fn snapshot_test_malformed_cvar() {
snapshot_test("data/malformed_cvar.dem", "data/malformed_cvar.json");
}
#[test]
fn snapshot_test_decal() {
snapshot_test("data/decal.dem", "data/decal.json");
}
#[test]
fn message_type_test_comp() {
dump_message_types("data/comp.dem", "data/comp_message_types.json");