mirror of
https://github.com/nlohmann/json.git
synced 2025-01-19 07:43:03 +08:00
🚧 debug
This commit is contained in:
parent
97e0d20ce9
commit
fb1154c237
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user