int test_main(int, char* []) { test_all<bg::model::d2::point_xy<double> >(); #if ! defined(BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE) test_all<bg::model::d2::point_xy<float> >(); #if defined(HAVE_TTMATH) std::cout << "Testing TTMATH" << std::endl; test_all<bg::model::d2::point_xy<ttmath_big> >(); #endif #endif // Commented, because exception is now disabled: // test_exception<bg::model::d2::point_xy<double> >(); test_pointer_version(); #if ! defined(BOOST_GEOMETRY_RESCALE_TO_ROBUST) test_rational<bg::model::d2::point_xy<boost::rational<int> > >(); #endif test_boxes_nd<double>(); #ifdef BOOST_GEOMETRY_TEST_INCLUDE_FAILING_TESTS // ticket #10868 still fails for 32-bit integers test_ticket_10868<int32_t>("MULTIPOLYGON(((33520458 6878575,33480192 14931538,31446819 18947953,30772384 19615678,30101303 19612322,30114725 16928001,33520458 6878575)))"); #if !defined(BOOST_NO_INT64) || defined(BOOST_HAS_INT64_T) || defined(BOOST_HAS_MS_INT64) test_ticket_10868<int64_t>("MULTIPOLYGON(((33520458 6878575,33480192 14931538,31446819 18947953,30772384 19615678,30101303 19612322,30114725 16928001,33520458 6878575)))"); #endif if (BOOST_GEOMETRY_CONDITION(sizeof(long) * CHAR_BIT >= 64)) { test_ticket_10868<long>("MULTIPOLYGON(((33520458 6878575,33480192 14931538,31446819 18947953,30772384 19615678,30101303 19612322,30114725 16928001,33520458 6878575)))"); } #if defined(BOOST_HAS_LONG_LONG) test_ticket_10868<boost::long_long_type>("MULTIPOLYGON(((33520458 6878575,33480192 14931538,31446819 18947953,30772384 19615678,30101303 19612322,30114725 16928001,33520458 6878575)))"); #endif #endif return 0; }
int test_main(int, char* []) { test_all<bg::model::d2::point_xy<double> >(); #if ! defined(BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE) test_all<bg::model::d2::point_xy<float> >(); #if defined(HAVE_TTMATH) test_all<bg::model::d2::point_xy<ttmath_big> >(); #endif #endif test_exception<bg::model::d2::point_xy<double> >(); test_pointer_version(); test_rational<bg::model::d2::point_xy<boost::rational<int> > >(); return 0; }