/third_party/boost/libs/gil/test/core/ |
D | promote_integral.cpp | 135 static inline void apply(std::string const& case_id) in apply() 148 "case ID: " << case_id in apply() 161 std::cout << "case ID: " << case_id << std::endl in apply() 198 static inline void apply(std::string case_id) in apply() 208 case_id += (PromoteUnsignedToUnsigned ? "-t" : "-f"); in apply() 222 tester::template apply<T, short>(case_id); in apply() 226 tester::template apply<T, int>(case_id); in apply() 230 tester::template apply<T, long>(case_id); in apply() 235 tester::template apply<T, boost::long_long_type>(case_id); in apply() 240 tester::template apply<T, T>(case_id); in apply() [all …]
|
/third_party/grpc/src/python/grpcio_tests/tests/ |
D | _result.py | 149 case_id = self.id_map(test) 150 self.cases[case_id] = CaseResult(id=case_id, 157 case_id = self.id_map(test) 158 self.cases[case_id] = self.cases[case_id].updated( 164 case_id = self.id_map(test) 165 self.cases[case_id] = self.cases[case_id].updated( 171 case_id = self.id_map(test) 172 self.cases[case_id] = self.cases[case_id].updated( 178 case_id = self.id_map(test) 179 self.cases[case_id] = self.cases[case_id].updated( [all …]
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/union/ |
D | test_union_linear_linear.hpp | 33 std::string const& case_id, in check_result() argument 37 "case id: " << case_id in check_result() 56 std::string const& case_id, in base_test() argument 78 check_result(geometry1, geometry2, mls_output, mls_union1, case_id, tolerance); in base_test() 84 check_result(geometry1, geometry2, mls_output, mls_union1, case_id, tolerance); in base_test() 86 set_operation_output("union", case_id, in base_test() 132 check_result(geometry1, geometry2, mls_output, mls_union2, case_id, tolerance); in base_test() 153 std::string const& case_id, in apply() argument 158 std::cout << "test case: " << case_id << std::endl; in apply() 160 sstr << "svgs/" << case_id << ".svg"; in apply() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/ |
D | test_difference_linear_linear.hpp | 34 std::string const& case_id, in check_result() argument 38 "case id: " << case_id in check_result() 57 std::string const& case_id, in base_test() argument 85 check_result(geometry1, geometry2, mls_output, mls_diff, case_id, tolerance); in base_test() 96 check_result(geometry1, geometry2, mls_output, mls_diff, case_id, tolerance); in base_test() 98 set_operation_output("difference", case_id, in base_test() 146 std::string const& case_id, in apply() argument 151 std::cout << "test case: " << case_id << std::endl; in apply() 153 sstr << "svgs/" << case_id << ".svg"; in apply() 173 base_test(geometry1, geometry2, mls_diff, case_id, tolerance); in apply() [all …]
|
/third_party/boost/libs/geometry/test/util/ |
D | promote_integral.cpp | 194 static inline void apply(std::string const& case_id) in apply() 207 "case ID: " << case_id in apply() 223 std::cout << "case ID: " << case_id << std::endl in apply() 260 static inline void apply(std::string case_id) in apply() 270 case_id += (PromoteUnsignedToUnsigned ? "-t" : "-f"); in apply() 284 tester::template apply<T, short>(case_id); in apply() 288 tester::template apply<T, int>(case_id); in apply() 292 tester::template apply<T, long>(case_id); in apply() 297 tester::template apply<T, boost::long_long_type>(case_id); in apply() 303 tester::template apply<T, boost::int128_type>(case_id); in apply() [all …]
|
/third_party/boost/libs/geometry/test/iterators/ |
D | flatten_iterator.cpp | 152 std::string const& case_id, in apply() 155 boost::ignore_unused(case_id, container_id); in apply() 159 sstream << case_id << " [" << container_id << "]"; in apply() 266 static inline void apply(std::string const& case_id, in apply() 270 test_flatten_iterator::apply(c, case_id, container_id); in apply() 278 static inline void apply(std::string const& case_id, in apply() 286 test_flatten_iterator::apply(c, case_id, container_id); in apply() 294 static inline void apply(std::string const& case_id, in apply() 306 test_flatten_iterator::apply(c, case_id, container_id); in apply() 314 static inline void apply(std::string const& case_id, in apply() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/ |
D | test_sym_difference_linear_linear.hpp | 33 std::string const& case_id, in check_result() argument 37 "case id: " << case_id in check_result() 55 std::string const& case_id, in base_test() argument 77 check_result(geometry1, geometry2, mls_output, mls_sym_diff, case_id, tolerance); in base_test() 83 check_result(geometry1, geometry2, mls_output, mls_sym_diff, case_id, tolerance); in base_test() 85 set_operation_output("sym_difference", case_id, in base_test() 132 "case id: " << case_id in base_test() 156 std::string const& case_id, in apply() argument 161 std::cout << "test case: " << case_id << std::endl; in apply() 163 sstr << "svgs/" << case_id << ".svg"; in apply() [all …]
|
D | sym_difference_areal_areal.cpp | 43 static inline void apply(std::string const& case_id, in apply() 56 std::cout << "Case ID: " << case_id << std::endl; in apply() 76 >(case_id, areal1, areal2, in apply()
|
/third_party/boost/libs/geometry/test/algorithms/ |
D | test_is_valid.hpp | 224 static inline bool apply(std::string const& case_id, in apply() 236 "case id: " << case_id in apply() 242 "case id (empty reason): " << case_id in apply() 252 "case id (reason): " << case_id in apply() 368 static inline void base_test(std::string const& case_id, in base_test() argument 380 >::apply(case_id, g, expected_result, reason); in base_test() 384 std::cout << "case id: " << case_id << ", Geometry: "; in base_test() 398 static inline void apply(std::string const& case_id, in apply() argument 403 sstr << case_id << "-original"; // which is: CCW open in apply() 415 sstr << case_id << "-2closed"; in apply() [all …]
|
D | check_validity.hpp | 18 std::string const& case_id, in is_output_valid() argument 29 << "this can cause that output is invalid: " << case_id in is_output_valid() 47 std::string const& case_id, in apply() 51 return is_output_valid(geometry, case_id, g1, g2, message); in apply() 62 std::string const& case_id, in apply() 69 if (! is_output_valid(element, case_id, g1, g2, message)) in apply()
|
D | point_on_surface.cpp | 55 void test_geometry(std::string const& case_id, Geometry const& geometry, double /*expected_x*/ = 0,… in test_geometry() argument 64 case_id << " generated point_on_surface (dim 1) is not within geometry"); in test_geometry() 72 case_id << " generated point_on_surface (dim 0) is not within geometry"); in test_geometry() 80 filename << "point_on_surface_" << case_id << "_" in test_geometry() 126 void test_geometry(std::string const& case_id, std::string const& wkt, double expected_x = 0, doubl… in test_geometry() argument 131 test_geometry(case_id, geometry, expected_x, expected_y); in test_geometry() 335 void test_dense(std::string const& case_id, double size) in test_dense() argument 350 test_geometry(case_id, poly); in test_dense()
|
D | is_convex.cpp | 25 void test_one(std::string const& case_id, std::string const& wkt, bool expected) in test_one() argument 33 "Not as expected, case: " << case_id in test_one()
|
/third_party/boost/libs/geometry/test/algorithms/distance/ |
D | test_distance_se_common.hpp | 125 void apply(std::string const& case_id, in apply() 136 apply(case_id, geometry1, geometry2, in apply() 143 void apply(std::string const& case_id, in apply() 153 apply(case_id, geometry1, geometry2, in apply() 166 void apply(std::string const& case_id, in apply() 175 std::cout << "case ID: " << case_id << "; " in apply() 230 >::apply(case_id, "a", geometry1, geometry2, in apply() 241 >::apply(case_id, "b", geometry1, geometry2, in apply() 251 >::apply(case_id, "c", geometry1, geometry2, in apply() 267 >::apply(case_id, "d", geometry1, geometry2, in apply() [all …]
|
D | test_distance_geo_common.hpp | 339 void apply(std::string const& case_id, in apply() 351 apply(case_id, geometry1, geometry2, in apply() 364 void apply(std::string const& case_id, in apply() 374 std::cout << "case ID: " << case_id << "; " in apply() 409 >::apply(case_id, "a", geometry1, geometry2, in apply() 420 >::apply(case_id, "b", geometry1, geometry2, in apply() 450 >::apply(case_id, "ra", geometry2, geometry1, in apply() 478 >::apply(case_id, "swap", g1, g2, in apply() 506 >::apply(case_id, "mirror", g1, g2, in apply()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/ |
D | test_intersection_linear_linear.hpp | 36 std::string const& case_id, in check_result() argument 41 "case id: " << case_id in check_result() 61 std::string const& case_id, in base_test() argument 79 check_result(geometry1, geometry2, mls_output, mls_int1, mls_int2, case_id, tolerance); in base_test() 89 check_result(geometry1, geometry2, mls_output, mls_int1, mls_int2, case_id, tolerance); in base_test() 91 set_operation_output("intersection", case_id, in base_test() 136 check_result(geometry1, geometry2, mls_output, mls_int1, mls_int2, case_id, tolerance); in base_test() 195 std::string const& case_id, in apply() argument 200 std::cout << "test case: " << case_id << std::endl; in apply() 202 sstr << "svgs/" << case_id << ".svg"; in apply() [all …]
|
D | intersection_areal_areal_linear.cpp | 57 static inline void apply(std::string const& case_id, in apply() 68 tester::apply(open_areal1, open_areal2, expected1, expected2, case_id); in apply() 80 std::string case_id_closed = case_id + "-closed"; in apply() 89 static inline void apply(std::string const& case_id, in apply() 94 apply(case_id, open_areal1, open_areal2, expected, expected); in apply()
|
/third_party/boost/libs/geometry/test/geometries/ |
D | boost_polygon_overlay.cpp | 24 void test_overlay_using_boost_polygon(std::string const& case_id, std::string const& wkt_p, std::st… in test_overlay_using_boost_polygon() argument 60 << "Boost.Polygon " << case_id in test_overlay_using_boost_polygon() 71 void test_overlay_using_boost_geometry(std::string const& case_id, std::string const& wkt_p, std::s… in test_overlay_using_boost_geometry() argument 98 << "Boost.Geometry " << case_id in test_overlay_using_boost_geometry() 108 void test_overlay(std::string const& case_id, std::string const& wkt_p, std::string const& wkt_q) in test_overlay() argument 110 test_overlay_using_boost_polygon<T>(case_id, wkt_p, wkt_q); in test_overlay() 111 test_overlay_using_boost_geometry<T>(case_id, wkt_p, wkt_q); in test_overlay()
|
/third_party/boost/libs/geometry/test/algorithms/overlay/ |
D | sort_by_side_basic.cpp | 59 std::vector<std::size_t> apply_get_turns(std::string const& case_id, in apply_get_turns() argument 102 std::cout << "Case: " << case_id << std::endl; in apply_get_turns() 131 " caseid=" << case_id in apply_get_turns() 174 " caseid=" << case_id in apply_get_turns() 193 " caseid=" << case_id in apply_get_turns() 200 " caseid=" << case_id in apply_get_turns() 205 " caseid=" << case_id in apply_get_turns() 210 " caseid=" << case_id in apply_get_turns() 215 debug::sorted_side_map(case_id, sbs, turn_point, geometry1, geometry2); in apply_get_turns() 223 void test_basic(std::string const& case_id, in test_basic() argument [all …]
|
D | self_intersection_points.cpp | 50 static void test_self_intersection_points(std::string const& case_id, in test_self_intersection_points() argument 103 … BOOST_CHECK_MESSAGE(false, "Case " << case_id << " there are no self-intersections detected!"); in test_self_intersection_points() 120 … BOOST_CHECK_MESSAGE(false, "Case " << case_id << " there are self-intersections detected!"); in test_self_intersection_points() 129 filename << "self_ip" << case_id << ".svg"; in test_self_intersection_points() 148 void test_self_overlay(std::string const& case_id, T const& expected, in test_self_overlay() argument 157 std::cout << std::endl << std::endl << "# " << case_id << std::endl; in test_self_overlay() 159 test_self_intersection_points(case_id, expected, geometry, check_has_intersections); in test_self_overlay()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/ |
D | test_set_ops_pointlike.hpp | 267 static inline void apply(std::string const& case_id, in apply() 279 "case ID: " << case_id << ", " in apply() 288 set_operation_output(op_name, case_id, in apply() 316 static inline void apply(std::string const& case_id, in apply() argument 323 std::cout << "test case: " << case_id << std::endl; in apply() 326 base_test<true>::apply(case_id, geometry1, geometry2, mp_expected12); in apply() 334 >::apply(case_id, geometry2, geometry1, mp_expected21); in apply() 342 static inline void apply(std::string const& case_id, in apply() argument 347 apply(case_id, geometry1, geometry2, mp_expected, mp_expected); in apply()
|
/third_party/boost/libs/geometry/test/strategies/ |
D | test_within.hpp | 68 void test_point_in_polygon(std::string const& case_id, in test_point_in_polygon() argument 81 (use_within ? "within: " : "covered_by: ") << case_id in test_point_in_polygon() 90 void test_geometry(std::string const& case_id, in test_geometry() argument 102 test_point_in_polygon(case_id, point, polygon, strategy, expected, use_within); in test_geometry()
|
/third_party/boost/libs/geometry/test/algorithms/envelope_expand/ |
D | expand_on_spheroid.cpp | 96 std::string const& case_id, in check_message() argument 106 stream << "case ID: " << case_id << ", " in check_message() 131 static inline void base_test(std::string const& case_id, in base_test() 198 check_message(same_boxes, case_id, units_str, in base_test() 204 static inline void apply(std::string const& case_id, in apply() 233 std::cout << "case ID: " << case_id in apply() 237 base_test(case_id, box, geometry, in apply() 272 base_test(case_id, other_box, geometry, in apply() 298 static inline void apply(std::string const& case_id, in apply() 314 >::apply(case_id, box, geometry, in apply() [all …]
|
D | envelope_on_spheroid.cpp | 140 std::string const& case_id, in check_message() argument 147 stream << "case ID: " << case_id << ", " in check_message() 167 std::string const& case_id, in check_message() argument 175 stream << "case ID: " << case_id << ", " in check_message() 205 static inline void base_test(std::string const& case_id, in base_test() argument 248 case_id, units_str, in base_test() 258 "Case ID: " << case_id << ", " in base_test() 270 static inline void apply(std::string const& case_id, in apply() argument 293 std::cout << "case ID: " << case_id << std::endl << std::endl; in apply() 296 base_test<MBR>(case_id, geometry, in apply() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/disjoint/ |
D | disjoint_coverage_p_p.cpp | 47 static inline void apply(std::string const& case_id, in apply() 54 "case ID: " << case_id << ", G1: " << bg::wkt(geometry1) in apply() 60 "case ID: " << case_id << ", G1: " << bg::wkt(geometry2) in apply() 65 std::cout << "case ID: " << case_id << "; G1 - G2: "; in apply()
|
D | disjoint_coverage_p_a.cpp | 48 static inline void apply(std::string const& case_id, in apply() 55 "case ID: " << case_id << ", G1: " << bg::wkt(geometry1) in apply() 61 "case ID: " << case_id << ", G1: " << bg::wkt(geometry2) in apply() 66 std::cout << "case ID: " << case_id << "; G1 - G2: "; in apply()
|