Commit Graph

10 Commits

Author SHA1 Message Date
Menelaos Karavelas
ba9117b37e [test][util][promote integral] guard use of int128 and uint128 by the macro 2015-03-30 17:44:05 +03:00
Barend Gehrels
e56561481e [test] Added define to avoid default usage of multiprecision 2015-03-29 00:38:18 +01:00
Adam Wulkiewicz
551507ac47 [test][util] Prevent min/max macro substitution for numeric_limits min/max. 2015-03-28 02:47:20 +01:00
Menelaos Karavelas
1b92041500 [test][util][promote integral] (re-)implement bit_size locally in the unit test 2015-03-28 03:18:59 +02:00
Menelaos Karavelas
3df65c1bd4 [test][util][promote integral] measure all sizes in bits rather than a mixture
of bits and bytes; add a few more tests regarding max and min values;
2015-03-28 01:32:24 +02:00
Menelaos Karavelas
27e7ad6aa6 [test][util][promote integral] update unit test to account for unsigned long long and uint128 2015-03-27 22:46:34 +02:00
Menelaos Karavelas
3154673657 [test][util][promote integral] make computation of minimum required size more
precise; add testing for unsigned types;
2015-03-27 11:54:14 +02:00
Menelaos Karavelas
eb0dfd1b5d [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;
2015-03-26 18:51:11 +02:00
Menelaos Karavelas
15e83e1a19 [test][util][promote integral] uncomment commented include;
make test for custom integral types always active;
2015-03-26 11:20:13 +02:00
Menelaos Karavelas
b87c59375a [test][util][promote integral] add unit test for the promote_integral meta-function 2015-03-26 08:45:45 +02:00