MCPcopy Create free account
hub / github.com/MITK/MITK / ConditionalOutputOfDifference

Function ConditionalOutputOfDifference

Modules/Core/include/mitkEqual.h:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 */
49 template <typename ElementToOutput1, typename ElementToOutput2>
50 inline void ConditionalOutputOfDifference(
51 ElementToOutput1 elem1, ElementToOutput2 elem2, mitk::ScalarType eps, bool verbose, bool isEqual)
52 {
53 if (verbose && !isEqual)
54 {
55 MITK_INFO << typeid(ElementToOutput1).name() << " and " << typeid(ElementToOutput2).name()
56 << " not equal. Lefthandside " << std::setprecision(12) << elem1 << " - Righthandside " << elem2
57 << " - epsilon " << eps;
58 }
59 }
60
61 /**
62 * \ingroup MITKTestingAPI

Callers 4

EqualFunction · 0.85
EqualArrayFunction · 0.85
EqualFunction · 0.85
EqualFunction · 0.85

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected