/third_party/boost/libs/multiprecision/test/ |
D | test_mixed.hpp | 18 BOOST_CHECK_EQUAL(big_val == small_val, false); in test() 19 BOOST_CHECK_EQUAL(big_val <= small_val, false); in test() 20 BOOST_CHECK_EQUAL(big_val >= small_val, true); in test() 21 BOOST_CHECK_EQUAL(big_val < small_val, false); in test() 22 BOOST_CHECK_EQUAL(big_val > small_val, true); in test() 23 BOOST_CHECK_EQUAL(big_val != small_val, true); in test() 24 BOOST_CHECK_EQUAL(small_val == big_val, false); in test() 25 BOOST_CHECK_EQUAL(small_val <= big_val, true); in test() 26 BOOST_CHECK_EQUAL(small_val >= big_val, false); in test() 27 BOOST_CHECK_EQUAL(small_val < big_val, true); in test() [all …]
|
D | test_mpfr_mpc_precisions.cpp | 35 BOOST_CHECK_EQUAL(a.precision(), 100); in main() 40 BOOST_CHECK_EQUAL(b.precision(), 20); in main() 42 BOOST_CHECK_EQUAL(b.precision(), a.precision()); in main() 48 BOOST_CHECK_EQUAL(b.precision(), 20); in main() 50 BOOST_CHECK_EQUAL(b.precision(), a.precision()); in main() 57 BOOST_CHECK_EQUAL(b.precision(), 100); in main() 63 BOOST_CHECK_EQUAL(b.precision(), 100); in main() 68 BOOST_CHECK_EQUAL(ca.precision(), 100); in main() 73 BOOST_CHECK_EQUAL(b.precision(), 20); in main() 75 BOOST_CHECK_EQUAL(b.precision(), ca.precision()); in main() [all …]
|
D | test_arithmetic.hpp | 94 BOOST_CHECK_EQUAL(r1 == r2, a == b); in test_comparisons() 95 BOOST_CHECK_EQUAL(r1 != r2, a != b); in test_comparisons() 96 BOOST_CHECK_EQUAL(r1 <= r2, a <= b); in test_comparisons() 97 BOOST_CHECK_EQUAL(r1 < r2, a < b); in test_comparisons() 98 BOOST_CHECK_EQUAL(r1 >= r2, a >= b); in test_comparisons() 99 BOOST_CHECK_EQUAL(r1 > r2, a > b); in test_comparisons() 101 BOOST_CHECK_EQUAL(r1 == b, a == b); in test_comparisons() 102 BOOST_CHECK_EQUAL(r1 != b, a != b); in test_comparisons() 103 BOOST_CHECK_EQUAL(r1 <= b, a <= b); in test_comparisons() 104 BOOST_CHECK_EQUAL(r1 < b, a < b); in test_comparisons() [all …]
|
D | test_cpp_bin_float.cpp | 85 BOOST_CHECK_EQUAL(max_val + max_val * eps, inf_val); in test_special_cases() 86 BOOST_CHECK_EQUAL(-max_val - max_val * eps, -inf_val); in test_special_cases() 87 BOOST_CHECK_EQUAL(max_val * 2, inf_val); in test_special_cases() 88 BOOST_CHECK_EQUAL(max_val * -2, -inf_val); in test_special_cases() 89 BOOST_CHECK_EQUAL(max_val / half, inf_val); in test_special_cases() 90 BOOST_CHECK_EQUAL(max_val / -half, -inf_val); in test_special_cases() 91 BOOST_CHECK_EQUAL(max_val / min_val, inf_val); in test_special_cases() 92 BOOST_CHECK_EQUAL(max_val / -min_val, -inf_val); in test_special_cases() 94 BOOST_CHECK_EQUAL(min_val * 2 - one_point_5 * min_val, 0); in test_special_cases() 95 BOOST_CHECK_EQUAL(-min_val * 2 + one_point_5 * min_val, 0); in test_special_cases() [all …]
|
D | test_cpp_int.cpp | 99 BOOST_CHECK_EQUAL(a.str(), a1.str()); in t1() 100 BOOST_CHECK_EQUAL(b.str(), b1.str()); in t1() 101 BOOST_CHECK_EQUAL(c.str(), c1.str()); in t1() 102 BOOST_CHECK_EQUAL(d.str(), d1.str()); in t1() 103 BOOST_CHECK_EQUAL(mpz_int(a + b).str(), test_type(a1 + b1).str()); in t1() 104 BOOST_CHECK_EQUAL((mpz_int(a) += b).str(), (test_type(a1) += b1).str()); in t1() 105 BOOST_CHECK_EQUAL((mpz_int(b) += a).str(), (test_type(b1) += a1).str()); in t1() 106 BOOST_CHECK_EQUAL(mpz_int(a - b).str(), test_type(a1 - b1).str()); in t1() 107 BOOST_CHECK_EQUAL((mpz_int(a) -= b).str(), (test_type(a1) -= b1).str()); in t1() 108 BOOST_CHECK_EQUAL(mpz_int(mpz_int(-a) + b).str(), test_type(test_type(-a1) + b1).str()); in t1() [all …]
|
D | test_fpclassify.cpp | 96 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NORMAL); in test() 97 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NORMAL); in test() 98 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test() 99 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test() 100 BOOST_CHECK_EQUAL((::boost::math::isinf)(t), false); in test() 101 BOOST_CHECK_EQUAL((::boost::math::isinf)(-t), false); in test() 102 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test() 103 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test() 104 BOOST_CHECK_EQUAL((::boost::math::isnormal)(t), true); in test() 105 BOOST_CHECK_EQUAL((::boost::math::isnormal)(-t), true); in test() [all …]
|
D | test_mpfi_precisions.cpp | 34 BOOST_CHECK_EQUAL(a.precision(), 100); in main() 39 BOOST_CHECK_EQUAL(b.precision(), 20); in main() 41 BOOST_CHECK_EQUAL(b.precision(), a.precision()); in main() 47 BOOST_CHECK_EQUAL(b.precision(), 20); in main() 49 BOOST_CHECK_EQUAL(b.precision(), a.precision()); in main() 56 BOOST_CHECK_EQUAL(b.precision(), 100); in main() 62 BOOST_CHECK_EQUAL(b.precision(), 100); in main() 67 BOOST_CHECK_EQUAL(f150.precision(), 150); in main() 71 BOOST_CHECK_EQUAL(f150.precision(), 150); in main() 79 BOOST_CHECK_EQUAL(a, 2); in main() [all …]
|
/third_party/boost/libs/math/test/ |
D | test_classify.cpp | 65 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NORMAL); in test_classify() 66 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NORMAL); in test_classify() 67 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test_classify() 68 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test_classify() 69 BOOST_CHECK_EQUAL((::boost::math::isinf)(t), false); in test_classify() 70 BOOST_CHECK_EQUAL((::boost::math::isinf)(-t), false); in test_classify() 71 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test_classify() 72 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test_classify() 73 BOOST_CHECK_EQUAL((::boost::math::isnormal)(t), true); in test_classify() 74 BOOST_CHECK_EQUAL((::boost::math::isnormal)(-t), true); in test_classify() [all …]
|
D | test_autodiff_1.cpp | 16 BOOST_CHECK_EQUAL(empty1.derivative(i), 0); in BOOST_AUTO_TEST_CASE_TEMPLATE() 21 BOOST_CHECK_EQUAL(empty2.derivative(i, j), 0); in BOOST_AUTO_TEST_CASE_TEMPLATE() 29 BOOST_CHECK_EQUAL(x.derivative(i), cx); in BOOST_AUTO_TEST_CASE_TEMPLATE() 31 BOOST_CHECK_EQUAL(x.derivative(i), 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 33 BOOST_CHECK_EQUAL(x.derivative(i), 0); in BOOST_AUTO_TEST_CASE_TEMPLATE() 39 BOOST_CHECK_EQUAL(xn.derivative(i), cx); in BOOST_AUTO_TEST_CASE_TEMPLATE() 41 BOOST_CHECK_EQUAL(xn.derivative(i), 1); in BOOST_AUTO_TEST_CASE_TEMPLATE() 43 BOOST_CHECK_EQUAL(xn.derivative(i), 0); in BOOST_AUTO_TEST_CASE_TEMPLATE() 52 BOOST_CHECK_EQUAL(y.derivative(i, j), cy); in BOOST_AUTO_TEST_CASE_TEMPLATE() 54 BOOST_CHECK_EQUAL(y.derivative(i, j), 1.0); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/third_party/boost/libs/numeric/ublas/test/tensor/ |
D | test_extents.cpp | 25 BOOST_CHECK_EQUAL ( e0.size(),0); in BOOST_AUTO_TEST_CASE() 29 BOOST_CHECK_EQUAL ( e1.size(),2); in BOOST_AUTO_TEST_CASE() 33 BOOST_CHECK_EQUAL ( e2.size(),2); in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_EQUAL ( e3.size(),2); in BOOST_AUTO_TEST_CASE() 41 BOOST_CHECK_EQUAL ( e4.size(),2); in BOOST_AUTO_TEST_CASE() 45 BOOST_CHECK_EQUAL ( e5.size(),3); in BOOST_AUTO_TEST_CASE() 49 BOOST_CHECK_EQUAL ( e6.size(),3); in BOOST_AUTO_TEST_CASE() 53 BOOST_CHECK_EQUAL ( e7.size(),3); in BOOST_AUTO_TEST_CASE() 94 BOOST_CHECK_EQUAL (extents[ 0].size(), 0); 111 BOOST_CHECK_EQUAL(extents[1][0],1); [all …]
|
D | test_strides.cpp | 34 BOOST_CHECK_EQUAL ( s0.size(), 0); in BOOST_AUTO_TEST_CASE_TEMPLATE() 38 BOOST_CHECK_EQUAL ( s1.size(), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 42 BOOST_CHECK_EQUAL ( s2.size(), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 46 BOOST_CHECK_EQUAL ( s3.size(), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 50 BOOST_CHECK_EQUAL ( s4.size(), 2); in BOOST_AUTO_TEST_CASE_TEMPLATE() 54 BOOST_CHECK_EQUAL ( s5.size(), 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 58 BOOST_CHECK_EQUAL ( s6.size(), 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 62 BOOST_CHECK_EQUAL ( s7.size(), 3); in BOOST_AUTO_TEST_CASE_TEMPLATE() 76 BOOST_CHECK_EQUAL ( s1[0], 1); in BOOST_AUTO_TEST_CASE() 77 BOOST_CHECK_EQUAL ( s1[1], 1); in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_multi_index.cpp | 35 BOOST_CHECK_EQUAL ( _a.value , 1 ) ; in BOOST_AUTO_TEST_CASE() 36 BOOST_CHECK_EQUAL ( _b.value , 2 ) ; in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_EQUAL ( _c.value , 3 ) ; in BOOST_AUTO_TEST_CASE() 38 BOOST_CHECK_EQUAL ( _d.value , 4 ) ; in BOOST_AUTO_TEST_CASE() 39 BOOST_CHECK_EQUAL ( _e.value , 5 ) ; in BOOST_AUTO_TEST_CASE() 40 BOOST_CHECK_EQUAL ( _f.value , 6 ) ; in BOOST_AUTO_TEST_CASE() 41 BOOST_CHECK_EQUAL ( _g.value , 7 ) ; in BOOST_AUTO_TEST_CASE() 42 BOOST_CHECK_EQUAL ( _h.value , 8 ) ; in BOOST_AUTO_TEST_CASE() 43 BOOST_CHECK_EQUAL ( _i.value , 9 ) ; in BOOST_AUTO_TEST_CASE() 44 BOOST_CHECK_EQUAL ( _j.value , 10 ) ; in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/compute/test/ |
D | test_types.cpp | 23 BOOST_CHECK_EQUAL(i4, boost::compute::int4_(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE() 24 BOOST_CHECK_EQUAL(i4[0], 1); in BOOST_AUTO_TEST_CASE() 25 BOOST_CHECK_EQUAL(i4[1], 2); in BOOST_AUTO_TEST_CASE() 26 BOOST_CHECK_EQUAL(i4[2], 3); in BOOST_AUTO_TEST_CASE() 27 BOOST_CHECK_EQUAL(i4[3], 4); in BOOST_AUTO_TEST_CASE() 32 BOOST_CHECK_EQUAL(i4, boost::compute::int4_(1, 1, 1, 1)); in BOOST_AUTO_TEST_CASE() 33 BOOST_CHECK_EQUAL(i4[0], 1); in BOOST_AUTO_TEST_CASE() 34 BOOST_CHECK_EQUAL(i4[1], 1); in BOOST_AUTO_TEST_CASE() 35 BOOST_CHECK_EQUAL(i4[2], 1); in BOOST_AUTO_TEST_CASE() 36 BOOST_CHECK_EQUAL(i4[3], 1); in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_valarray.cpp | 24 BOOST_CHECK_EQUAL(array.size(), size_t(0)); in BOOST_AUTO_TEST_CASE() 27 BOOST_CHECK_EQUAL(array.size(), size_t(10)); in BOOST_AUTO_TEST_CASE() 34 BOOST_CHECK_EQUAL(array.size(), size_t(5)); in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_EQUAL(int(array[0]), int(1)); in BOOST_AUTO_TEST_CASE() 38 BOOST_CHECK_EQUAL(int(array[1]), int(2)); in BOOST_AUTO_TEST_CASE() 39 BOOST_CHECK_EQUAL(int(array[2]), int(3)); in BOOST_AUTO_TEST_CASE() 40 BOOST_CHECK_EQUAL(int(array[3]), int(4)); in BOOST_AUTO_TEST_CASE() 41 BOOST_CHECK_EQUAL(int(array[4]), int(5)); in BOOST_AUTO_TEST_CASE() 48 BOOST_CHECK_EQUAL(array.size(), size_t(8)); in BOOST_AUTO_TEST_CASE() 50 BOOST_CHECK_EQUAL((array.min)(), int(1)); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/numeric/ublas/test/ |
D | comp_mat_erase.cpp | 17 BOOST_CHECK_EQUAL( A.filled1(), (std::size_t) 1 ); in BOOST_AUTO_TEST_CASE() 18 BOOST_CHECK_EQUAL( A.index1_data()[0], (std::size_t) 0 ); in BOOST_AUTO_TEST_CASE() 22 BOOST_CHECK_EQUAL( A.nnz(), (std::size_t) 1 ); in BOOST_AUTO_TEST_CASE() 23 BOOST_CHECK_EQUAL( A.filled1(), (std::size_t) 2 ); in BOOST_AUTO_TEST_CASE() 26 BOOST_CHECK_EQUAL( A.index1_data()[0], (std::size_t) 0 ); in BOOST_AUTO_TEST_CASE() 27 BOOST_CHECK_EQUAL( A.index2_data()[0], (std::size_t) 0 ); in BOOST_AUTO_TEST_CASE() 28 BOOST_CHECK_EQUAL( A.value_data()[0], 1 ); in BOOST_AUTO_TEST_CASE() 30 BOOST_CHECK_EQUAL( A.index1_data()[1], (std::size_t) 1 ); in BOOST_AUTO_TEST_CASE() 34 BOOST_CHECK_EQUAL( A.nnz(), (std::size_t) 1 ); in BOOST_AUTO_TEST_CASE() 35 BOOST_CHECK_EQUAL( A.filled1(), (std::size_t) 2 ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/test/example/ |
D | const_string_test.cpp | 24 BOOST_CHECK_EQUAL( cs0.length(), (size_t)0 ); in BOOST_AUTO_TEST_CASE() 25 BOOST_CHECK_EQUAL( cs0.begin(), "" ); in BOOST_AUTO_TEST_CASE() 26 BOOST_CHECK_EQUAL( cs0.end(), "" ); in BOOST_AUTO_TEST_CASE() 30 BOOST_CHECK_EQUAL( cs01.length(), (size_t)0 ); in BOOST_AUTO_TEST_CASE() 31 BOOST_CHECK_EQUAL( cs01.begin(), "" ); in BOOST_AUTO_TEST_CASE() 32 BOOST_CHECK_EQUAL( cs01.end(), "" ); in BOOST_AUTO_TEST_CASE() 36 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_EQUAL( cs1.length(), std::strlen("test_string") ); in BOOST_AUTO_TEST_CASE() 41 BOOST_CHECK_EQUAL( std::strcmp( cs2.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 44 BOOST_CHECK_EQUAL( std::strcmp( cs3.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/test/doc/snippet/ |
D | const_string_test.cpp | 20 BOOST_CHECK_EQUAL( cs0.length(), (size_t)0 ); in BOOST_AUTO_TEST_CASE() 21 BOOST_CHECK_EQUAL( cs0.begin(), "" ); in BOOST_AUTO_TEST_CASE() 22 BOOST_CHECK_EQUAL( cs0.end(), "" ); in BOOST_AUTO_TEST_CASE() 26 BOOST_CHECK_EQUAL( cs01.length(), (size_t)0 ); in BOOST_AUTO_TEST_CASE() 27 BOOST_CHECK_EQUAL( cs01.begin(), "" ); in BOOST_AUTO_TEST_CASE() 28 BOOST_CHECK_EQUAL( cs01.end(), "" ); in BOOST_AUTO_TEST_CASE() 32 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 33 BOOST_CHECK_EQUAL( cs1.length(), std::strlen("test_string") ); in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_EQUAL( std::strcmp( cs2.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() 40 BOOST_CHECK_EQUAL( std::strcmp( cs1.data(), "test_string" ), 0 ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/process/test/ |
D | environment.cpp | 31 BOOST_CHECK_EQUAL(ev.size(), 0u); 32 BOOST_CHECK_EQUAL(ev.end() - ev.begin(), 0); 36 BOOST_CHECK_EQUAL(ev.size(), 1u); 37 BOOST_CHECK_EQUAL(ev.end() - ev.begin(), 1); 41 BOOST_CHECK_EQUAL(x.to_string(), "My value"); 42 BOOST_CHECK_EQUAL(x.get_name(), "Thingy"); 47 BOOST_CHECK_EQUAL(ev.size(), 0u); 48 BOOST_CHECK_EQUAL(ev.end() - ev.begin(), 0); 56 BOOST_CHECK_EQUAL(ev.size(), 0u); 57 BOOST_CHECK_EQUAL(ev.end() - ev.begin(), 0); [all …]
|
/third_party/boost/libs/property_tree/test/ |
D | test_json_parser2.cpp | 146 BOOST_CHECK_EQUAL("null", parsed); in BOOST_TEST_DONT_PRINT_LOG_VALUE() 154 BOOST_CHECK_EQUAL("_:null", parsed); in BOOST_AUTO_TEST_CASE() 161 BOOST_CHECK_EQUAL("null", parsed); in BOOST_AUTO_TEST_CASE() 168 BOOST_CHECK_EQUAL(L"null", parsed); in BOOST_AUTO_TEST_CASE() 176 BOOST_CHECK_EQUAL(L"_:null", parsed); in BOOST_AUTO_TEST_CASE() 183 BOOST_CHECK_EQUAL(L"null", parsed); in BOOST_AUTO_TEST_CASE() 190 BOOST_CHECK_EQUAL(param, parsed); in boolean_parse_result_is_input_n() 200 BOOST_CHECK_EQUAL("b:true", parsed); in BOOST_AUTO_TEST_CASE() 207 BOOST_CHECK_EQUAL(param, parsed); in boolean_parse_result_is_input_w() 217 BOOST_CHECK_EQUAL(L"b:true", parsed); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/icl/test/ |
D | test_interval_set_mixed.hpp | 20 BOOST_CHECK_EQUAL( hull(split_set).lower(), hull(sep_set).lower() ); in interval_set_mixed_ctor_4_ordered_types() 21 BOOST_CHECK_EQUAL( hull(split_set).lower(), hull(join_set).lower() ); in interval_set_mixed_ctor_4_ordered_types() 35 BOOST_CHECK_EQUAL( split_empty == split_empty, true ); in interval_set_mixed_equal_4_ordered_types() 36 BOOST_CHECK_EQUAL( sep_empty == sep_empty, true ); in interval_set_mixed_equal_4_ordered_types() 37 BOOST_CHECK_EQUAL( join_empty == join_empty, true ); in interval_set_mixed_equal_4_ordered_types() 40 BOOST_CHECK_EQUAL( split_empty == split_single, false ); in interval_set_mixed_equal_4_ordered_types() 41 BOOST_CHECK_EQUAL( sep_empty == sep_single, false ); in interval_set_mixed_equal_4_ordered_types() 42 BOOST_CHECK_EQUAL( join_empty == join_single, false ); in interval_set_mixed_equal_4_ordered_types() 44 BOOST_CHECK_EQUAL( split_single == split_empty, false ); in interval_set_mixed_equal_4_ordered_types() 45 BOOST_CHECK_EQUAL( sep_single == sep_empty, false ); in interval_set_mixed_equal_4_ordered_types() [all …]
|
D | test_interval_set_shared.hpp | 35 BOOST_CHECK_EQUAL(IntervalSet<T>().empty(), true); in interval_set_fundamentals_4_ordered_types() 36 BOOST_CHECK_EQUAL(icl::is_empty(IntervalSet<T>()), true); in interval_set_fundamentals_4_ordered_types() 37 BOOST_CHECK_EQUAL(cardinality(IntervalSet<T>()), boost::icl::identity_element<size_T>::value()); in interval_set_fundamentals_4_ordered_types() 38 BOOST_CHECK_EQUAL(IntervalSet<T>().size(), boost::icl::identity_element<size_T>::value()); in interval_set_fundamentals_4_ordered_types() 39 BOOST_CHECK_EQUAL(interval_count(IntervalSet<T>()), 0); in interval_set_fundamentals_4_ordered_types() 40 BOOST_CHECK_EQUAL(IntervalSet<T>().iterative_size(), 0); in interval_set_fundamentals_4_ordered_types() 41 BOOST_CHECK_EQUAL(iterative_size(IntervalSet<T>()), 0); in interval_set_fundamentals_4_ordered_types() 42 BOOST_CHECK_EQUAL(IntervalSet<T>(), IntervalSet<T>()); in interval_set_fundamentals_4_ordered_types() 45 BOOST_CHECK_EQUAL(mt_interval, IntervalT()); in interval_set_fundamentals_4_ordered_types() 47 BOOST_CHECK_EQUAL(mt_set, IntervalSet<T>()); in interval_set_fundamentals_4_ordered_types() [all …]
|
D | test_icl_interval_shared.hpp | 21 BOOST_CHECK_EQUAL(icl::length(inner_complement(itv1,itv2)), icl::distance(itv1,itv2)); in test_inner_complement() 22 BOOST_CHECK_EQUAL(icl::length(inner_complement(itv1,itv2)), icl::distance(itv2,itv1)); in test_inner_complement() 23 BOOST_CHECK_EQUAL(icl::length(inner_complement(itv2,itv1)), icl::distance(itv1,itv2)); in test_inner_complement() 24 BOOST_CHECK_EQUAL(icl::length(inner_complement(itv2,itv1)), icl::distance(itv2,itv1)); in test_inner_complement() 35 BOOST_CHECK_EQUAL(inner_complement(itv1,itv2), inner_comp_itv); in test_inner_complement() 36 BOOST_CHECK_EQUAL(inner_complement(itv2,itv1), inner_comp_itv); in test_inner_complement() 37 BOOST_CHECK_EQUAL(icl::length(inner_comp), icl::distance(itv1,itv2)); in test_inner_complement() 38 BOOST_CHECK_EQUAL(icl::length(inner_comp), icl::distance(itv2,itv1)); in test_inner_complement() 51 BOOST_CHECK_EQUAL(itv1_comp & itv2_comp, in_comp); in test_inner_complement() 52 … BOOST_CHECK_EQUAL( icl::is_empty(itv1_comp & itv2_comp), icl::disjoint(itv1_comp, itv2_comp)); in test_inner_complement() [all …]
|
/third_party/boost/libs/algorithm/test/ |
D | clamp_test.cpp | 43 BOOST_CHECK_EQUAL ( 3, ba::clamp ( 3, 1, 10 )); in test_ints() 44 BOOST_CHECK_EQUAL ( 1, ba::clamp ( 1, 1, 10 )); in test_ints() 45 BOOST_CHECK_EQUAL ( 1, ba::clamp ( 0, 1, 10 )); in test_ints() 46 BOOST_CHECK_EQUAL ( 10, ba::clamp ( 10, 1, 10 )); in test_ints() 47 BOOST_CHECK_EQUAL ( 10, ba::clamp ( 11, 1, 10 )); in test_ints() 53 BOOST_CHECK_EQUAL ( 3, ba::clamp ( 3, 10, 1, intGreater )); in test_ints() 54 BOOST_CHECK_EQUAL ( 1, ba::clamp ( 1, 10, 1, intGreater )); in test_ints() 55 BOOST_CHECK_EQUAL ( 1, ba::clamp ( 0, 10, 1, intGreater )); in test_ints() 56 BOOST_CHECK_EQUAL ( 10, ba::clamp ( 10, 10, 1, intGreater )); in test_ints() 57 BOOST_CHECK_EQUAL ( 10, ba::clamp ( 11, 10, 1, intGreater )); in test_ints() [all …]
|
/third_party/boost/libs/gil/test/extension/io/ |
D | bmp_read_test.cpp | 48 BOOST_CHECK_EQUAL( backend._info._offset , 54u ); in BOOST_AUTO_TEST_CASE() 49 BOOST_CHECK_EQUAL( backend._info._header_size , 40u ); in BOOST_AUTO_TEST_CASE() 50 BOOST_CHECK_EQUAL( backend._info._width , 1000 ); in BOOST_AUTO_TEST_CASE() 51 BOOST_CHECK_EQUAL( backend._info._height , 600 ); in BOOST_AUTO_TEST_CASE() 52 BOOST_CHECK_EQUAL( backend._info._bits_per_pixel , 24 ); in BOOST_AUTO_TEST_CASE() 53 BOOST_CHECK_EQUAL( backend._info._compression , 0u ); in BOOST_AUTO_TEST_CASE() 54 BOOST_CHECK_EQUAL( backend._info._image_size , 1800000u ); in BOOST_AUTO_TEST_CASE() 55 BOOST_CHECK_EQUAL( backend._info._horizontal_resolution, 0 ); in BOOST_AUTO_TEST_CASE() 56 BOOST_CHECK_EQUAL( backend._info._vertical_resolution , 0 ); in BOOST_AUTO_TEST_CASE() 57 BOOST_CHECK_EQUAL( backend._info._num_colors , 0u ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/type_erasure/test/ |
D | test_any_cast.cpp | 33 BOOST_CHECK_EQUAL(any_cast<int>(x), 2); in BOOST_AUTO_TEST_CASE() 36 BOOST_CHECK_EQUAL(any_cast<int>(y), 2); in BOOST_AUTO_TEST_CASE() 44 BOOST_CHECK_EQUAL(any_cast<int&>(x), 2); in BOOST_AUTO_TEST_CASE() 45 BOOST_CHECK_EQUAL(any_cast<const int&>(x), 2); in BOOST_AUTO_TEST_CASE() 50 BOOST_CHECK_EQUAL(any_cast<const int&>(y), 2); in BOOST_AUTO_TEST_CASE() 59 BOOST_CHECK_EQUAL(*any_cast<int*>(&x), 2); in BOOST_AUTO_TEST_CASE() 60 BOOST_CHECK_EQUAL(*any_cast<const int*>(&x), 2); in BOOST_AUTO_TEST_CASE() 61 BOOST_CHECK_EQUAL(any_cast<void*>(&x), any_cast<int*>(&x)); in BOOST_AUTO_TEST_CASE() 62 BOOST_CHECK_EQUAL(any_cast<const void*>(&x), any_cast<const int*>(&x)); in BOOST_AUTO_TEST_CASE() 63 BOOST_CHECK_EQUAL(any_cast<double*>(&x), (double*)0); in BOOST_AUTO_TEST_CASE() [all …]
|