18#include <geos/export.h>
31class GEOS_DLL Assert {
34 static void isTrue(
bool assertion,
const std::string& message);
37 isTrue(
bool assertion)
39 isTrue(assertion, std::string());
44 isNotNull(
const T& ptr,
const std::string& message)
46 isTrue(ptr !=
nullptr, message);
50 static void equals(
const geom::CoordinateXY& expectedValue,
51 const geom::CoordinateXY& actualValue,
52 const std::string& message);
55 equals(
const geom::CoordinateXY& expectedValue,
56 const geom::CoordinateXY& actualValue)
58 equals(expectedValue, actualValue, std::string());
62 static void shouldNeverReachHere(
const std::string& message);
65 shouldNeverReachHere()
67 shouldNeverReachHere(std::string());
Basic namespace for all GEOS functionalities.
Definition geos.h:38