PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ main()

int main ( void  )

Definition at line 147 of file postgis/cunit/cu_tester.c.

148{
149 CU_pSuite suite;
150 unsigned int failures = 0;
151 if (CU_initialize_registry() != CUE_SUCCESS)
152 return CU_get_error();
153
154 suite = CU_add_suite("gserialized_histogram_helpers", NULL, NULL);
155 if (!suite)
156 goto cleanup;
157
158 if (!CU_add_test(suite, "histogram budget clamps", histogram_budget_clamps) ||
159 !CU_add_test(suite, "histogram axis guards", histogram_axis_allocation_guards) ||
160 !CU_add_test(suite, "nd_stats value index guards", nd_stats_indexing_behaviour) ||
161 !CU_add_test(suite, "nd_box ratio edge cases", nd_box_ratio_cases))
162 {
163 goto cleanup;
164 }
165
166 CU_basic_set_mode(CU_BRM_VERBOSE);
167 CU_basic_run_tests();
168
169cleanup:
170 failures = CU_get_number_of_tests_failed();
171 CU_cleanup_registry();
172 return failures == 0 ? CUE_SUCCESS : 1;
173}
static void nd_stats_indexing_behaviour(void)
static void nd_box_ratio_cases(void)
static void histogram_budget_clamps(void)
static void histogram_axis_allocation_guards(void)

References histogram_axis_allocation_guards(), histogram_budget_clamps(), nd_box_ratio_cases(), and nd_stats_indexing_behaviour().

Here is the call graph for this function: