16#ifndef GEOS_UTIL_ASSERT_H
17#define GEOS_UTIL_ASSERT_H
19#include <geos/export.h>
32class 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()); }
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25