mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-27 02:16:18 +02:00
Fixed https://github.com/msgpack/msgpack-c/pull/95 on poc/0.6 branch.
This commit is contained in:
parent
e21e3245db
commit
11a2a1b8ec
@ -192,10 +192,8 @@ TYPED_TEST_P(IntegerToFloatingPointTest, simple_buffer)
|
||||
v.push_back(1);
|
||||
if (numeric_limits<integer_type>::is_signed) v.push_back(-1);
|
||||
else v.push_back(2);
|
||||
v.push_back(numeric_limits<integer_type>::min());
|
||||
v.push_back(numeric_limits<integer_type>::max());
|
||||
for (unsigned int i = 0; i < kLoop; i++) {
|
||||
v.push_back(rand());
|
||||
v.push_back(rand() % 0x7FFFFF);
|
||||
}
|
||||
for (unsigned int i = 0; i < v.size() ; i++) {
|
||||
msgpack::sbuffer sbuf;
|
||||
@ -471,4 +469,3 @@ TEST(MSGPACK_STL, simple_buffer_cstring)
|
||||
EXPECT_EQ(val1, val2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user