PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "CUnit/Basic.h"
#include "liblwgeom_internal.h"
#include "cu_tester.h"
Go to the source code of this file.
Macros | |
#define | setpoint(p, x1, y1) {(p).x = (x1); (p).y = (y1);} |
Functions | |
static int | init_cg_suite (void) |
static int | clean_cg_suite (void) |
static void | test_lw_segment_side (void) |
static void | test_lw_arc_center (void) |
static void | test_lw_segment_intersects (void) |
static void | test_lwline_crossing_short_lines (void) |
static void | test_lwline_crossing_long_lines (void) |
static void | test_lwline_crossing_bugs (void) |
static void | test_lwpoint_set_ordinate (void) |
static void | test_lwpoint_get_ordinate (void) |
static void | test_point_interpolate (void) |
static void | test_lwline_interpolate_points (void) |
static void | test_lwline_clip (void) |
static void | test_lwmline_clip (void) |
static void | test_lwline_clip_big (void) |
static void | test_geohash_precision (void) |
static void | test_geohash_point (void) |
static void | test_geohash (void) |
static void | test_isclosed (void) |
static void | test_geohash_point_as_int (void) |
static void | test_lwgeom_remove_repeated_points (void) |
static void | test_geohash_bbox (void) |
static void | test_lwgeom_simplify (void) |
static void | do_median_dims_check (char *wkt, int expected_dims) |
static void | test_median_handles_3d_correctly (void) |
static double | test_weighted_distance (const POINT4D *curr, const POINT4D *points, uint32_t npoints) |
static void | do_median_test (char *input, char *expected, int fail_if_not_converged, int iter_count) |
static void | test_median_robustness (void) |
static void | test_point_density (void) |
static void | test_lwpoly_construct_circle (void) |
static void | test_kmeans (void) |
static void | test_trim_bits (void) |
void | algorithms_suite_setup (void) |
Variables | |
POINTARRAY * | pa21 = NULL |
POINTARRAY * | pa22 = NULL |
LWLINE * | l21 = NULL |
LWLINE * | l22 = NULL |
LWGEOM_PARSER_RESULT | parse_result |