Definition at line 1470 of file cu_algorithm.c.
1487 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))",
1488 "POINT (15 15 15)",
LW_TRUE, 1000);
1500 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);
1504 do_median_test(
"MULTIPOINT ZM (-1 1 -3 1, -1 0 -2 7, -2 -1 -1 1)",
"POINT (-1 0 -2)",
LW_TRUE, 1000);
1505 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);
1508 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);
1510 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);
1530 "(1000 0 -200 100),"
1531 "(1000 0 -590 100),"
1535 "POINT (1025 0 -65)",
LW_TRUE, 10000);
1542 "(0 -3000 -3472.22222222222262644208967685699462890625 1),"
1543 "(0 3000 3472.22222222222262644208967685699462890625 1),"
1544 "(0 0 -1644.736842105263121993630193173885345458984375 1),"
1545 "(0 0 1644.736842105263121993630193173885345458984375 1),"
1546 "(0 48000 -20000 1.3),"
1547 "(0 -48000 -20000 1.3)"
1549 "POINT (0 0 0)",
LW_TRUE, 10000);
1557 "(0 -3000 -3472.22222222222262644208967685699462890625 1),"
1558 "(0 3000 3472.22222222222262644208967685699462890625 1),"
1559 "(0 -0.00000000000028047739569477638384522295466033823196 -1644.736842105263121993630193173885345458984375 1),"
1560 "(0 0.00000000000028047739569477638384522295466033823196 1644.736842105263121993630193173885345458984375 1),"
1561 "(0 48000 -20000 1.3),"
1562 "(0 -48000 -20000 1.3)"
1564 "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().