mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-23 07:17:30 +02:00
Changed integer storage from positive/negative to signed/unsigned
This commit is contained in:
@ -46,8 +46,14 @@ TEST_CASE("serialize MsgPack value") {
|
||||
}
|
||||
|
||||
SECTION("positive fixint") {
|
||||
checkVariant(0, "\x00");
|
||||
checkVariant(127, "\x7F");
|
||||
SECTION("signed") {
|
||||
checkVariant(0, "\x00");
|
||||
checkVariant(127, "\x7F");
|
||||
}
|
||||
SECTION("unsigned") {
|
||||
checkVariant(0U, "\x00");
|
||||
checkVariant(127U, "\x7F");
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("uint 8") {
|
||||
|
Reference in New Issue
Block a user