* Changed message to 'Prediction for test case <N>
is incorrect: Expected (<X>) but predicted (<Y>)'
Change-Id: Ie54b70683bf5bb26de2f2a6bcf4a162c99ba5474
if (detectedObject.m_Class != expectedDetection.m_Class)
{
BOOST_LOG_TRIVIAL(error) << "Prediction for test case " << this->GetTestCaseId() <<
- " (" << detectedObject.m_Class << ")" <<
- " is incorrect (should be " << expectedDetection.m_Class << ")";
+ " is incorrect: Expected (" << expectedDetection.m_Class << ")" <<
+ " but predicted (" << detectedObject.m_Class << ")";
return TestCaseResult::Failed;
}