Home
last modified time | relevance | path

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

/third_party/boost/libs/spirit/test/qi/
Dreal1.cpp47 real_parser<double, ureal_policies<double> > udouble; in main() local
50 BOOST_TEST(test("1234", udouble)); in main()
51 BOOST_TEST(test_attr("1234", udouble, d) && compare(d, 1234)); in main()
53 BOOST_TEST(test("1.2e3", udouble)); in main()
54 BOOST_TEST(test_attr("1.2e3", udouble, d) && compare(d, 1.2e3)); in main()
56 BOOST_TEST(test("1.2e-3", udouble)); in main()
57 BOOST_TEST(test_attr("1.2e-3", udouble, d) && compare(d, 1.2e-3)); in main()
59 BOOST_TEST(test("1.e2", udouble)); in main()
60 BOOST_TEST(test_attr("1.e2", udouble, d) && compare(d, 1.e2)); in main()
62 BOOST_TEST(test("1.", udouble)); in main()
[all …]
Dreal5.cpp61 real_parser<double, ureal_policies<double> > udouble; in main() local
63 BOOST_TEST(test("1234", udouble(1234))); in main()
64 BOOST_TEST(!test("1234", udouble(4321))); in main()
65 BOOST_TEST(test_attr("1234", udouble(1234), d)); in main()
67 BOOST_TEST(!test_attr("1234", udouble(4321), d)); in main()
69 BOOST_TEST(test("1.2e3", udouble(1.2e3))); in main()
70 BOOST_TEST(!test("1.2e3", udouble(3.2e1))); in main()
71 BOOST_TEST(test_attr("1.2e3", udouble(1.2e3), d)); in main()
73 BOOST_TEST(!test_attr("1.2e3", udouble(3.2e1), d)); in main()