1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

🚧 debug

This commit is contained in:
Niels Lohmann
2018-01-08 21:26:41 +01:00
parent 97e0d20ce9
commit fb1154c237

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;