Home
last modified time | relevance | path

Searched refs:test_rule (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/spirit/test/karma/
Dauto3.cpp16 BOOST_TEST(test_rule("true", true)); in main()
17 BOOST_TEST(test_rule("1", 1)); in main()
18 BOOST_TEST(test_rule("1.1", 1.1)); in main()
19 BOOST_TEST(test_rule("test", std::string("test"))); in main()
26 BOOST_TEST(test_rule("012", v)); in main()
33 BOOST_TEST(test_rule("012", l)); in main()
38 BOOST_TEST(test_rule("", o)); in main()
40 BOOST_TEST(test_rule("1", o)); in main()
45 BOOST_TEST(test_rule("1", vv)); in main()
47 BOOST_TEST(test_rule("1.0", vv)); in main()
[all …]
Dauto.hpp55 bool test_rule(Char const *expected, Attribute const& attr) in test_rule() function
/third_party/boost/libs/spirit/test/qi/
Dauto.cpp50 bool test_rule(Char const* in, Attribute const& expected) in test_rule() function
60 bool test_rule(Char const* in, Attribute const& expected, Skipper const& skipper) in test_rule() function
207 BOOST_TEST(test_rule("true", true)); in main()
208 BOOST_TEST(test_rule("1", 1)); in main()
209 BOOST_TEST(test_rule("1.1", 1.1)); in main()
216 BOOST_TEST(test_rule("0 1 2", v, qi::space)); in main()
222 BOOST_TEST(test_rule("0 1 2", l, qi::space)); in main()
226 BOOST_TEST(test_rule("", o)); in main()
228 BOOST_TEST(test_rule("1", o)); in main()
243 BOOST_TEST(test_rule("1 2.0", p, qi::space)); in main()
/third_party/boost/libs/spirit/test/x3/
Derror_handler.cpp32 x3::rule<test_rule_class> const test_rule; variable
35 BOOST_SPIRIT_DEFINE(test_rule) in BOOST_SPIRIT_DEFINE() argument
45 auto const parser = x3::with<x3::error_handler_tag>(std::ref(error_handler))[test_rule]; in BOOST_SPIRIT_DEFINE()