Home
last modified time | relevance | path

Searched refs:test_tools (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/boost/libs/test/test/writing-test-ts/
Dboost_check_equal-str-test.cpp124 BOOST_TEST( buf_ptr_cch == buf_ptr_cch, boost::test_tools::per_element() ); in BOOST_AUTO_TEST_CASE()
125 BOOST_TEST( buf_ptr_cch <= "abd" , boost::test_tools::per_element() ); in BOOST_AUTO_TEST_CASE()
126 BOOST_TEST( buf_ptr_cch >= "aba" , boost::test_tools::per_element() ); in BOOST_AUTO_TEST_CASE()
127 BOOST_TEST( buf_str == buf_ptr_cch , boost::test_tools::per_element() ); in BOOST_AUTO_TEST_CASE()
128 BOOST_TEST( buf_str <= "abd" , boost::test_tools::per_element() ); in BOOST_AUTO_TEST_CASE()
129 BOOST_TEST( buf_str >= "aba" , boost::test_tools::per_element() ); in BOOST_AUTO_TEST_CASE()
131 BOOST_TEST( buf_ptr_cch <= buf_ptr_cch, boost::test_tools::lexicographic() ); in BOOST_AUTO_TEST_CASE()
132 BOOST_TEST( buf_ptr_cch >= buf_ptr_cch, boost::test_tools::lexicographic() ); in BOOST_AUTO_TEST_CASE()
133 BOOST_TEST( buf_ptr_cch <= "abc" , boost::test_tools::lexicographic() ); in BOOST_AUTO_TEST_CASE()
134 BOOST_TEST( buf_ptr_cch < "abd" , boost::test_tools::lexicographic() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dassertion-construction-test.cpp240 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
282 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
327 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
410 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
478 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
523 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
582 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
614 using namespace boost::test_tools; in BOOST_AUTO_TEST_CASE()
Dtest_tools-test.cpp43 namespace tt=boost::test_tools;
46 namespace boost{ namespace test_tools{ namespace tt_detail{ namespace
250 boost::test_tools::predicate_result
253 boost::test_tools::predicate_result res( false ); in test_pred1()
369 boost::test_tools::predicate_result
372 boost::test_tools::predicate_result res( c1.m_i == c2.m_i && c1.m_id == c2.m_id ); in operator ==()
468 boost::test_tools::assertion_result in BOOST_TEST_DONT_PRINT_LOG_VALUE()
472 boost::test_tools::predicate_result res( false ); in BOOST_TEST_DONT_PRINT_LOG_VALUE()
756 namespace boost{ namespace test_tools{ namespace tt_detail{ namespace
834 using namespace boost::test_tools; in TEST_CASE()
[all …]
Dfp-multiprecision-comparison-test.cpp116 namespace tt = boost::test_tools; in BOOST_AUTO_TEST_CASE()
144 namespace tt = boost::test_tools; in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/test/tools/
Dinterface.hpp41 (::boost::test_tools::assertion::seed()->*P) \
49 ::boost::test_tools::assertion_result res = (P); \
55 ::boost::test_tools::tt_detail::level, \
56 ::boost::test_tools::tt_detail::CHECK_MSG, \
58 } while( ::boost::test_tools::tt_detail::dummy_cond() ) \
68 ::boost::test_tools::tt_detail:: \
74 ::boost::test_tools::tt_detail::level, \
75 ::boost::test_tools::tt_detail::CHECK_BUILT_ASSERTION, \
77 } while( ::boost::test_tools::tt_detail::dummy_cond() ) \
87 ::boost::test_tools::tt_detail:: \
[all …]
Dcontext.hpp40 namespace test_tools { namespace
65 ::boost::test_tools::tt_detail::context_frame BOOST_JOIN( context_frame_, __LINE__ ) = \
66 ::boost::test_tools::tt_detail::context_frame(BOOST_TEST_LAZY_MSG( context_descr ) ) \
73 if( ::boost::test_tools::tt_detail::context_frame BOOST_PP_CAT(ctx, i) = \
74 ::boost::test_tools::tt_detail::context_frame(BOOST_TEST_LAZY_MSG( context_descr ) ) ) \
Dfpc_tolerance.hpp27 namespace test_tools { namespace
79 new unit_test::class_based_fixture<test_tools::local_fpc_tolerance<FPT>,FPT>( v ) ) ); in tolerance()
86 tolerance( test_tools::fpc::percent_tolerance_t<FPT> v ) in tolerance()
89 …new unit_test::class_based_fixture<test_tools::local_fpc_tolerance<FPT>,FPT>( boost::math::fpc::fp… in tolerance()
/third_party/boost/boost/test/tools/old/
Dinterface.hpp66 ::boost::test_tools::tt_detail:: \
72 ::boost::test_tools::tt_detail::TL, \
73 ::boost::test_tools::tt_detail::CT \
75 } while( ::boost::test_tools::tt_detail::dummy_cond() ) \
113 } while( ::boost::test_tools::tt_detail::dummy_cond() ) \
143 } while( ::boost::test_tools::tt_detail::dummy_cond() ) \
153 ::boost::test_tools::tt_detail::equal_impl_frwd(), "", WARN, CHECK_EQUAL, (L)(R) )
155 ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
157 ::boost::test_tools::tt_detail::equal_impl_frwd(), "", REQUIRE, CHECK_EQUAL, (L)(R) )
162 ::boost::test_tools::tt_detail::ne_impl(), "", WARN, CHECK_NE, (L)(R) )
[all …]
Dimpl.hpp43 namespace test_tools { namespace
66 << ::boost::test_tools::tt_detail::print_helper( BOOST_JOIN( arg, m ) )) \
212 << ::boost::test_tools::tt_detail::print_helper(*left_begin) in operator ()()
214 << ::boost::test_tools::tt_detail::print_helper(*right_begin); in operator ()()
/third_party/boost/libs/test/doc/examples/
Dboost_test_sequence_per_element.run-fail.cpp13 namespace tt = boost::test_tools;
35 BOOST_TEST(a == b, boost::test_tools::per_element()); in BOOST_AUTO_TEST_CASE()
36 BOOST_TEST(a != b, boost::test_tools::per_element()); in BOOST_AUTO_TEST_CASE()
37 BOOST_TEST(a < b, boost::test_tools::per_element()); in BOOST_AUTO_TEST_CASE()
38 BOOST_TEST(b < c, boost::test_tools::per_element()); in BOOST_AUTO_TEST_CASE()
39 BOOST_TEST(c < a, boost::test_tools::per_element()); in BOOST_AUTO_TEST_CASE()
Dboost_test_container_lex.run-fail.cpp13 namespace tt = boost::test_tools;
35 BOOST_TEST(a < b, boost::test_tools::lexicographic()); in BOOST_AUTO_TEST_CASE()
36 BOOST_TEST(b < c, boost::test_tools::lexicographic()); in BOOST_AUTO_TEST_CASE()
37 BOOST_TEST(c < a, boost::test_tools::lexicographic()); in BOOST_AUTO_TEST_CASE()
Dexample31.run-fail.cpp12 boost::test_tools::predicate_result
17 boost::test_tools::predicate_result res( false ); in compare_lists()
Dexample48.output4 test.cpp(8): error in "test": check ::boost::test_tools::tt_detail::is_defined_impl( "SYMBOL1", "= …
5 test.cpp(9): error in "test": check ::boost::test_tools::tt_detail::is_defined_impl( "SYMBOL2(arg)"…
Dboost_test_string.run-fail.cpp28 BOOST_TEST(std::string("test1") < a, boost::test_tools::per_element()); in BOOST_AUTO_TEST_CASE()
29 BOOST_TEST(b < a, boost::test_tools::lexicographic()); in BOOST_AUTO_TEST_CASE()
Dexample84_contexts.run-fail.cpp66 BOOST_TEST(estimated.first == double(root1), 10. % boost::test_tools::tolerance()); in BOOST_AUTO_TEST_CASE()
67 BOOST_TEST(estimated.second == double(root2), 10. % boost::test_tools::tolerance()); in BOOST_AUTO_TEST_CASE()
/third_party/python/Lib/test/
Dtest_check_c_globals.py2 import test.test_tools
4 test.test_tools.skip_if_missing('c-analyzer')
5 with test.test_tools.imports_under_tool('c-analyzer'):
/third_party/python/Lib/test/test_peg_generator/
Dtest_grammar_validator.py2 from test import test_tools
4 test_tools.skip_if_missing('peg_generator')
5 with test_tools.imports_under_tool('peg_generator'):
Dtest_first_sets.py3 from test import test_tools
6 test_tools.skip_if_missing('peg_generator')
7 with test_tools.imports_under_tool('peg_generator'):
Dtest_c_parser.py9 from test import test_tools
19 test_tools.skip_if_missing("peg_generator")
20 with test_tools.imports_under_tool("peg_generator"):
/third_party/boost/boost/test/tools/detail/
Dprint_helper.hpp43 namespace test_tools { namespace
90 using boost::test_tools::tt_detail::boost_test_print_type; in operator ()()
234 namespace boost{ namespace test_tools{ namespace tt_detail{ \
/third_party/boost/libs/test/doc/testing_tools/
Dboost_test_string_comparison.qbk18 `boost::test_tools::per_element()` and `boost::test_tools::lexicographic()` modifiers.]
Dboost_test_collection_comparison.qbk80 By specifying the manipulator [classref boost::test_tools::per_element], the comparison of the elem…
89 BOOST_TEST(c_a op c_b, boost::test_tools::per_element() );
131 [caution the resulting type of "`c_a == c_b`" is an [classref boost::test_tools::assertion_result a…
135 BOOST_TEST(c_a == c_b == 42, boost::test_tools::per_element() ); // does not compile
139 By specifying the manipulator [classref boost::test_tools::lexicographic], the containers are compa…
143 BOOST_TEST(c_a op c_b, boost::test_tools::lexicographic() );
160 * for testing equality, the `==` relation is either explicit (using `boost::test_tools::per_element…
163 (using `boost::test_tools::lexicographic()`) or implicit when
/third_party/boost/libs/test/build/
DJamfile.v252 test_tools
74 test_tools
/third_party/boost/boost/test/impl/
Dtest_tree.ipp110 test_tools::assertion_result
117 test_tools::assertion_result res(false);
124 test_tools::assertion_result res(false);
130 test_tools::assertion_result res(false);
137 test_tools::assertion_result res = precondition( p_id );
139 test_tools::assertion_result res_out(false);
/third_party/python/Lib/test/test_tools/
D__main__.py1 from test.test_tools import load_tests

12345