Lines Matching refs:custom_real
28 real_parser<real_concept, real_policies<real_concept> > custom_real; in main() local
31 BOOST_TEST(test("-1234", custom_real)); in main()
32 BOOST_TEST(test_attr("-1234", custom_real, d) && compare(d, -1234)); in main()
34 BOOST_TEST(test("-1.2e3", custom_real)); in main()
35 BOOST_TEST(test_attr("-1.2e3", custom_real, d) && compare(d, -1.2e3)); in main()
37 BOOST_TEST(test("+1.2e3", custom_real)); in main()
38 BOOST_TEST(test_attr("+1.2e3", custom_real, d) && compare(d, 1.2e3)); in main()
40 BOOST_TEST(test("-0.1", custom_real)); in main()
41 BOOST_TEST(test_attr("-0.1", custom_real, d) && compare(d, -0.1)); in main()
43 BOOST_TEST(test("-1.2e-3", custom_real)); in main()
44 BOOST_TEST(test_attr("-1.2e-3", custom_real, d) && compare(d, -1.2e-3)); in main()
46 BOOST_TEST(test("-1.e2", custom_real)); in main()
47 BOOST_TEST(test_attr("-1.e2", custom_real, d) && compare(d, -1.e2)); in main()
49 BOOST_TEST(test("-.2e3", custom_real)); in main()
50 BOOST_TEST(test_attr("-.2e3", custom_real, d) && compare(d, -.2e3)); in main()
52 BOOST_TEST(test("-2e3", custom_real)); in main()
53 BOOST_TEST(test_attr("-2e3", custom_real, d) && compare(d, -2e3)); in main()
55 BOOST_TEST(!test("-e3", custom_real)); in main()
56 BOOST_TEST(!test_attr("-e3", custom_real, d)); in main()
58 BOOST_TEST(!test("-1.2e", custom_real)); in main()
59 BOOST_TEST(!test_attr("-1.2e", custom_real, d)); in main()
67 custom_real n; in main()