From eb0dfd1b5dfd175d86b2e2e03ff5f93ae73cb155 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Thu, 26 Mar 2015 18:51:11 +0200 Subject: [PATCH] [test][util][promote integral] add tests for the unsigned types: unsigned char, unsigned short, unsigned int, unsigned long, std::size_t; add test for the type signed char; --- test/util/promote_integral.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/util/promote_integral.cpp b/test/util/promote_integral.cpp index 896f2a3f9..22249d3c6 100644 --- a/test/util/promote_integral.cpp +++ b/test/util/promote_integral.cpp @@ -15,6 +15,7 @@ #if !defined(BOOST_GEOMETRY_NO_MULTIPRECISION_INTEGER) #include #endif +#include #include #include @@ -126,21 +127,31 @@ void test_promotion() BOOST_AUTO_TEST_CASE( test_char ) { test_promotion(); + test_promotion(); + test_promotion(); } BOOST_AUTO_TEST_CASE( test_short ) { test_promotion(); + test_promotion(); } BOOST_AUTO_TEST_CASE( test_int ) { test_promotion(); + test_promotion(); } BOOST_AUTO_TEST_CASE( test_long ) { test_promotion(); + test_promotion(); +} + +BOOST_AUTO_TEST_CASE( test_std_size_t ) +{ + test_promotion(); } #ifdef BOOST_HAS_LONG_LONG