asn1,test: add return value check for meas test

master
Andre Puschmann 2 years ago committed by Justin Tallon
parent c094b0a8ed
commit 179f7d8d69

@ -33,7 +33,7 @@ int meas_obj_test()
cbit_ref bref(&rrc_msg[0], sizeof(rrc_msg)); cbit_ref bref(&rrc_msg[0], sizeof(rrc_msg));
ul_dcch_msg_s ul_dcch_msg; ul_dcch_msg_s ul_dcch_msg;
ul_dcch_msg.unpack(bref); TESTASSERT(ul_dcch_msg.unpack(bref) == SRSASN_SUCCESS);
TESTASSERT(ul_dcch_msg.msg.type() == ul_dcch_msg_type_c::types::c1); TESTASSERT(ul_dcch_msg.msg.type() == ul_dcch_msg_type_c::types::c1);
TESTASSERT(ul_dcch_msg.msg.c1().type() == ul_dcch_msg_type_c::c1_c_::types::meas_report); TESTASSERT(ul_dcch_msg.msg.c1().type() == ul_dcch_msg_type_c::c1_c_::types::meas_report);

Loading…
Cancel
Save