mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 10:34:11 +02:00
entity write fixes
This commit is contained in:
parent
6f80468b6d
commit
577a998baa
17 changed files with 129 additions and 35 deletions
|
|
@ -65,12 +65,12 @@ fn test_roundtrip_encode<
|
|||
};
|
||||
|
||||
let mut read = BitReadStream::new(BitReadBuffer::new_owned(data, LittleEndian));
|
||||
assert_eq!(
|
||||
pretty_assertions::assert_eq!(
|
||||
val,
|
||||
T::parse(&mut read, state).unwrap(),
|
||||
"Failed to assert the parsed message is equal to the original"
|
||||
);
|
||||
assert_eq!(
|
||||
pretty_assertions::assert_eq!(
|
||||
pos,
|
||||
read.pos(),
|
||||
"Failed to assert that all encoded bits ({}) are used for decoding ({})",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue