For now, Elfo provides us with assert_msg_eq and assert_msg, which support assertions for specific message types and values inside. However, these assertions do not offer the capability to unpack the message and bind it to a value. Therefore, I suggest that we introduce the expect_x functions to handle these cases in the test environment.
For now, Elfo provides us with
assert_msg_eq
andassert_msg
, which support assertions for specific message types and values inside. However, these assertions do not offer the capability to unpack the message and bind it to a value. Therefore, I suggest that we introduce theexpect_x
functions to handle these cases in the test environment.Note that all of these functions return the unpacked value to a user.