Definition at line 1236 of file cu_algorithm.c.
1253 do_median_test(
"MULTIPOINT ((10 10 10), (10 20 10), (20 10 10), (20 20 10), (10 10 20), (10 20 20), (20 10 20), (20 20 20))",
1254 "POINT (15 15 15)",
LW_TRUE, 1000);
1266 do_median_test(
"MULTIPOINT ZM (1 -1 3 1, 1 0 2 7, 2 1 1 1, EMPTY)",
"POINT (1 0 2)",
LW_TRUE, 1000);
1270 do_median_test(
"MULTIPOINT ZM (-1 1 -3 1, -1 0 -2 7, -2 -1 -1 1)",
"POINT (-1 0 -2)",
LW_TRUE, 1000);
1271 do_median_test(
"MULTIPOINT ZM (-1 1 -3 1, -1 0 -2 7, -2 -1 -1 0.5, -2 -1 -1 0.5)",
"POINT (-1 0 -2)",
LW_TRUE, 1000);
1274 do_median_test(
"MULTIPOINT ZM ((0 -1 0 1), (0 0 0 1), (0 1 0 0.5), (0 1 0 0.5))",
"POINT (0 0 0)",
LW_TRUE, 1000);
1276 do_median_test(
"MULTIPOINT ZM ((1 -1 3 1), (1 0 2 7), (2 1 1 2), (2 1 1 -1))", NULL,
LW_TRUE, 1000);
1296 "(1000 0 -200 100),"
1297 "(1000 0 -590 100),"
1301 "POINT (1025 0 -65)",
LW_TRUE, 10000);
1308 "(0 -3000 -3472.22222222222262644208967685699462890625 1),"
1309 "(0 3000 3472.22222222222262644208967685699462890625 1),"
1310 "(0 0 -1644.736842105263121993630193173885345458984375 1),"
1311 "(0 0 1644.736842105263121993630193173885345458984375 1),"
1312 "(0 48000 -20000 1.3),"
1313 "(0 -48000 -20000 1.3)"
1315 "POINT (0 0 0)",
LW_TRUE, 10000);
1323 "(0 -3000 -3472.22222222222262644208967685699462890625 1),"
1324 "(0 3000 3472.22222222222262644208967685699462890625 1),"
1325 "(0 -0.00000000000028047739569477638384522295466033823196 -1644.736842105263121993630193173885345458984375 1),"
1326 "(0 0.00000000000028047739569477638384522295466033823196 1644.736842105263121993630193173885345458984375 1),"
1327 "(0 48000 -20000 1.3),"
1328 "(0 -48000 -20000 1.3)"
1330 "POINT (0 0 0)",
LW_TRUE, 10000);
static void do_median_test(char *input, char *expected, int fail_if_not_converged, int iter_count)
#define LW_TRUE
Return types for functions with status returns.
References do_median_test(), LW_FALSE, and LW_TRUE.
Referenced by algorithms_suite_setup().