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:
parent
bbf6c036fb
commit
c529abc6fb
3 changed files with 6 additions and 0 deletions
BIN
data/decal.dem
Normal file
BIN
data/decal.dem
Normal file
Binary file not shown.
1
data/decal.json
Normal file
1
data/decal.json
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -61,6 +61,11 @@ fn snapshot_test_malformed_cvar() {
|
||||||
snapshot_test("data/malformed_cvar.dem", "data/malformed_cvar.json");
|
snapshot_test("data/malformed_cvar.dem", "data/malformed_cvar.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn snapshot_test_decal() {
|
||||||
|
snapshot_test("data/decal.dem", "data/decal.json");
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn message_type_test_comp() {
|
fn message_type_test_comp() {
|
||||||
dump_message_types("data/comp.dem", "data/comp_message_types.json");
|
dump_message_types("data/comp.dem", "data/comp_message_types.json");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue