]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/x3/real3.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / x3 / real3.cpp
index f5f2113286d232095984d0702737d1e6a7b05f53..09e11ad932e9fabe455509742f266e6fba51a7d6 100644 (file)
@@ -59,6 +59,10 @@ main()
         real_parser<double, ts_real_policies<double> > ts_real;
         double  d;
 
+        BOOST_TEST(test("123.01", ts_real));
+        BOOST_TEST(test_attr("123.01", ts_real, d)
+                && compare(d, 123.01));
+
         BOOST_TEST(test("123,456,789.01", ts_real));
         BOOST_TEST(test_attr("123,456,789.01", ts_real, d)
                 && compare(d, 123456789.01));