Home
last modified time | relevance | path

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

/third_party/boost/libs/spirit/test/qi/
Dauto.cpp39 bool test_create_parser_auto(Char const *in, T& t) in test_create_parser_auto() function
123 BOOST_TEST(test_create_parser_auto("0 1 2", v) && v.size() == 3 && in main()
127 BOOST_TEST(test_create_parser_auto("0 1 2", l) && l.size() == 3 && in main()
132 BOOST_TEST(test_create_parser_auto("", o) && !o); in main()
133 BOOST_TEST(test_create_parser_auto("1", o) && !!o && boost::get<int>(o) == 1); in main()
137 BOOST_TEST(test_create_parser_auto("true", vv) && vv.which() == 1 && in main()
139 BOOST_TEST(test_create_parser_auto("1.0", vv) && vv.which() == 0 && in main()
141 BOOST_TEST(test_create_parser_auto("some_string", vv) && vv.which() == 2 && in main()
146 BOOST_TEST(test_create_parser_auto("1 2.0", p) && in main()