21 #ifndef __vtkAddonTestingUtilities_h 22 #define __vtkAddonTestingUtilities_h 46 bool CheckInt(
int line,
const std::string& description,
47 int current,
int expected);
51 double current,
double expected,
double tolerance);
54 bool CheckNotNull(
int line,
const std::string& description,
58 bool CheckNull(
int line,
const std::string& description,
62 bool CheckPointer(
int line,
const std::string& description,
63 void* current,
void* expected,
bool errorIfDifferent =
true);
66 bool CheckString(
int line,
const std::string& description,
67 const char* current,
const char* expected,
bool errorIfDifferent =
true );
71 #include "vtkAddonTestingUtilities.txx" VTK_ADDON_EXPORT bool CheckPointer(int line, const std::string &description, void *current, void *expected, bool errorIfDifferent=true)
VTK_ADDON_EXPORT bool CheckString(int line, const std::string &description, const char *current, const char *expected, bool errorIfDifferent=true)
VTK_ADDON_EXPORT bool CheckNotNull(int line, const std::string &description, const void *pointer)
VTK_ADDON_EXPORT bool CheckDoubleTolerance(int line, const std::string &description, double current, double expected, double tolerance)
VTK_ADDON_EXPORT bool CheckInt(int line, const std::string &description, int current, int expected)
VTK_ADDON_EXPORT bool CheckNull(int line, const std::string &description, const void *pointer)