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);
38 isTrue(
bool assertion)
40 isTrue(assertion, std::string());
44 static void equals(
const geom::Coordinate& expectedValue,
45 const geom::Coordinate& actualValue,
46 const std::string& message);
49 equals(
const geom::Coordinate& expectedValue,
50 const geom::Coordinate& actualValue)
52 equals(expectedValue, actualValue, std::string());
56 static void shouldNeverReachHere(
const std::string& message);
59 shouldNeverReachHere()
61 shouldNeverReachHere(std::string());
69 #endif // GEOS_UTIL_ASSERT_H Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25