16 #ifndef GEOS_UTIL_ASSERT_H 17 #define GEOS_UTIL_ASSERT_H 19 #include <geos/export.h> 32 class GEOS_DLL Assert {
35 static void isTrue(
bool assertion,
const std::string& message);
37 static void isTrue(
bool assertion) {
38 isTrue(assertion, std::string());
42 static void equals(
const geom::Coordinate& expectedValue,
43 const geom::Coordinate& actualValue,
44 const std::string& message);
46 static void equals(
const geom::Coordinate& expectedValue,
47 const geom::Coordinate& actualValue)
49 equals(expectedValue, actualValue, std::string());
53 static void shouldNeverReachHere(
const std::string& message);
55 static void shouldNeverReachHere() { shouldNeverReachHere(std::string()); }
62 #endif // GEOS_UTIL_ASSERT_H Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25