// [RetrieveOutState]: retrieve values of the output ports via get operations and GUMBO declared local state variable
// [SaveInLocal]: retrieve and save the current (input) values of GUMBO-declared local state variables as retrieved
// [RetrieveOutState]: retrieve values of the output ports via get operations and GUMBO declared local state variable
if !GUMBOX::compute_CEP_Post(In_lastCmd, lastCmd, api_current_temp, api_desired_temp, api_heat_control) {
return HarnessResult::FailedPostcondition(TestCaseError::Fail("Postcondition failed: incorrect output behavior".into()));
// [RetrieveOutState]: retrieve values of the output ports via get operations and GUMBO declared local state variable
if !GUMBOX::compute_CEP_Post(In_lastCmd, lastCmd, api_current_temp, api_desired_temp, api_heat_control) {
return HarnessResult::FailedPostcondition(TestCaseError::Fail("Postcondition failed: incorrect output behavior".into()));
return testComputeCBwGSV(container.In_lastCmd, container.api_current_temp, container.api_desired_temp)
match $crate::test::util::cb_apis::testComputeCBwGSV(In_lastCmd, api_current_temp, api_desired_temp) {