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

Function GetErrorMessage

tests/cpu/SSE_tests.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42{
43
44std::string GetErrorMessage(const std::string & operation, float expected, float actual)
45{
46 std::ostringstream oss;
47 oss << "Output differs on " << operation << " : "
48 << "expected: " << expected << " != " << "actual: " << actual;
49 return oss.str();
50}
51
52bool IsInfinity(float floatToTest)
53{

Callers 2

CheckFloatFunction · 0.70
OCIO_ADD_TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected