mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
Update tests to match new behavior
This commit is contained in:
parent
1d14def1d5
commit
dd060754c9
3 changed files with 40 additions and 14 deletions
|
|
@ -657,7 +657,7 @@ fn test_packet_entitier_message_roundtrip() {
|
||||||
value: SendPropValue::Float(1.0),
|
value: SendPropValue::Float(1.0),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
in_pvs: false,
|
in_pvs: true,
|
||||||
update_type: UpdateType::Preserve,
|
update_type: UpdateType::Preserve,
|
||||||
serial_number: 0,
|
serial_number: 0,
|
||||||
delay: None,
|
delay: None,
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,9 @@
|
||||||
"steamId": "[U:1:78023051]",
|
"steamId": "[U:1:78023051]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 89,
|
||||||
|
"in_pvs": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 3,
|
"entity": 3,
|
||||||
|
|
@ -44,7 +46,9 @@
|
||||||
"steamId": "[U:1:151261665]",
|
"steamId": "[U:1:151261665]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 85,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 4,
|
"entity": 4,
|
||||||
|
|
@ -67,7 +71,9 @@
|
||||||
"steamId": "[U:1:105458702]",
|
"steamId": "[U:1:105458702]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 80,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 5,
|
"entity": 5,
|
||||||
|
|
@ -90,7 +96,9 @@
|
||||||
"steamId": "[U:1:81747492]",
|
"steamId": "[U:1:81747492]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 92,
|
||||||
|
"in_pvs": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 6,
|
"entity": 6,
|
||||||
|
|
@ -113,7 +121,9 @@
|
||||||
"steamId": "[U:1:50363269]",
|
"steamId": "[U:1:50363269]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 85,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 7,
|
"entity": 7,
|
||||||
|
|
@ -136,7 +146,9 @@
|
||||||
"steamId": "[U:1:192228451]",
|
"steamId": "[U:1:192228451]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 87,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 8,
|
"entity": 8,
|
||||||
|
|
@ -159,7 +171,9 @@
|
||||||
"steamId": "[U:1:103356736]",
|
"steamId": "[U:1:103356736]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 83,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 9,
|
"entity": 9,
|
||||||
|
|
@ -182,7 +196,9 @@
|
||||||
"steamId": "[U:1:85558037]",
|
"steamId": "[U:1:85558037]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 84,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 10,
|
"entity": 10,
|
||||||
|
|
@ -205,7 +221,9 @@
|
||||||
"steamId": "[U:1:101328438]",
|
"steamId": "[U:1:101328438]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 86,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 11,
|
"entity": 11,
|
||||||
|
|
@ -228,7 +246,9 @@
|
||||||
"steamId": "[U:1:63292929]",
|
"steamId": "[U:1:63292929]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 88,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 12,
|
"entity": 12,
|
||||||
|
|
@ -251,7 +271,9 @@
|
||||||
"steamId": "[U:1:91304212]",
|
"steamId": "[U:1:91304212]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 81,
|
||||||
|
"in_pvs": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": 13,
|
"entity": 13,
|
||||||
|
|
@ -274,7 +296,9 @@
|
||||||
"steamId": "[U:1:82128674]",
|
"steamId": "[U:1:82128674]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 83,
|
||||||
|
"in_pvs": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"buildings": {},
|
"buildings": {},
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,9 @@
|
||||||
"steamId": "[U:1:64229260]",
|
"steamId": "[U:1:64229260]",
|
||||||
"team": "other"
|
"team": "other"
|
||||||
},
|
},
|
||||||
"charge": 0
|
"charge": 0,
|
||||||
|
"simtime": 78,
|
||||||
|
"in_pvs": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"buildings": {},
|
"buildings": {},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue