MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / GetErrorMessage

Function GetErrorMessage

tests/cpu/AVX_tests.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55std::string GetErrorMessage(float expected, float actual, OCIO::BitDepth inBD, OCIO::BitDepth outBD)
56{
57 std::ostringstream oss;
58 oss << "expected: " << expected << " != " << "actual: " << actual << " : " << GetFormatName(inBD) << " -> " << GetFormatName(outBD);
59 return oss.str();
60}
61
62template<OCIO::BitDepth BD>
63typename OCIO::BitDepthInfo<BD>::Type scale_unsigned(unsigned i)

Callers 2

testConvert_OutBitDepthFunction · 0.70
DEFINE_SIMD_TESTFunction · 0.70

Calls 1

GetFormatNameFunction · 0.70

Tested by

no test coverage detected