🚧 debug

This commit is contained in:
Niels Lohmann 2018-01-08 21:26:41 +01:00
parent 97e0d20ce9
commit fb1154c237
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -89,22 +89,19 @@ TEST_CASE("UBJSON")
{
std::vector<int64_t> numbers;
numbers.push_back((std::numeric_limits<int64_t>::min)());
numbers.push_back(-1000000000000000000l);
numbers.push_back(-100000000000000000l);
numbers.push_back(-10000000000000000l);
numbers.push_back(-1000000000000000l);
numbers.push_back(-100000000000000l);
numbers.push_back(-10000000000000l);
numbers.push_back(-1000000000000l);
numbers.push_back(-100000000000l);
numbers.push_back(-10000000000l);
numbers.push_back(-2147483649l);
size_t index = 0;
numbers.push_back(-1000000000000000000ll);
numbers.push_back(-100000000000000000ll);
numbers.push_back(-10000000000000000ll);
numbers.push_back(-1000000000000000ll);
numbers.push_back(-100000000000000ll);
numbers.push_back(-10000000000000ll);
numbers.push_back(-1000000000000ll);
numbers.push_back(-100000000000ll);
numbers.push_back(-10000000000ll);
numbers.push_back(-2147483649ll);
for (auto i : numbers)
{
CAPTURE(i);
CAPTURE(index);
++index;
// create JSON value with integer number
json j = i;