| 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 |
no test coverage detected