summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/metaparse/test/version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/metaparse/test/version.cpp')
-rw-r--r--src/boost/libs/metaparse/test/version.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/boost/libs/metaparse/test/version.cpp b/src/boost/libs/metaparse/test/version.cpp
new file mode 100644
index 00000000..9eec5908
--- /dev/null
+++ b/src/boost/libs/metaparse/test/version.cpp
@@ -0,0 +1,20 @@
+// Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <boost/metaparse/version.hpp>
+
+#include <boost/mpl/assert.hpp>
+#include <boost/mpl/bool.hpp>
+
+#include "test_case.hpp"
+
+BOOST_METAPARSE_TEST_CASE(version)
+{
+ using boost::mpl::bool_;
+
+ // test_version_number
+ BOOST_MPL_ASSERT((bool_<BOOST_METAPARSE_VERSION == 10000000>));
+}
+