Lines Matching refs:actual
20 let actual = Message::unmarshal(&mut bytes).unwrap(); in test_message_unmarshal_open_success() localVariable
30 assert_eq!(actual, expected); in test_message_unmarshal_open_success()
37 let actual = Message::unmarshal(&mut bytes)?; in test_message_unmarshal_ack_success() localVariable
40 assert_eq!(actual, expected); in test_message_unmarshal_ack_success()
50 let actual = result.expect_err("expected err, but got ok"); in test_message_unmarshal_invalid_message_type() localVariable
51 assert_eq!(actual, expected); in test_message_unmarshal_invalid_message_type()
58 let actual = msg.marshal_size(); in test_message_marshal_size() localVariable
61 assert_eq!(actual, expected); in test_message_marshal_size()
78 let actual = msg.marshal_to(&mut buf).unwrap(); in test_message_marshal() localVariable
80 assert_eq!(actual, expected); in test_message_marshal()
84 let actual = &bytes[..]; in test_message_marshal() localVariable
96 assert_eq!(actual, expected); in test_message_marshal()