diff --git a/tests/test_coding.cpp b/tests/test_coding.cpp index 504becb..709b188 100644 --- a/tests/test_coding.cpp +++ b/tests/test_coding.cpp @@ -430,58 +430,4 @@ TEST_CASE("shared pointer testmsg") bool ok = msg->from_bytes(msg_buf); // Should fail. CHECK_FALSE(ok); - - msg_buf = {33, 54, 52, 56, 53, 51, 55, 54, 52, 49, 54, 51, 53, 54, 53, 50, 53, 50, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, 34, 49, 49, 53, 49, 48, 54, 51, - 52, 56, 57, 53, 49, 52, 49, 54, 49, 57, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 46, 48, 48, 48, 48, 34, 50, 56, 53, 49, 54, 57, 54, 51, 57, 50, 52, 56, 51, 55, - 56, 57, 50, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, 34, - 49, 54, 50, 56, 53, 54, 49, 54, 56, 48, 52, 55, 55, 49, 55, 55, 55, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, 34, 50, 52, 57, 51, 50, 48, 57, - 50, 55, 52, 54, 49, 54, 50, 57, 57, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 46, 48, 48, 48, 48, 33, 53, 51, 53, 54, 53, 51, 54, 54, 49, 57, 54, 50, 57, 48, - 55, 50, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, 34, 50, - 51, 49, 49, 48, 53, 56, 49, 53, 52, 54, 51, 57, 48, 53, 49, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, 33, 53, 50, 56, 0, 0, 0, 0, 54, 57, - 53, 55, 56, 54, 50, 49, 54, 54, 50, 56, 49, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 46, 48, 48, 48, 48, 34, 50, 55, 55, 50, 55, 55, 49, 50, 52, 53, 51, 51, 55, - 50, 54, 52, 55, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, - 34, 49, 52, 55, 57, 51, 51, 48, 53, 51, 49, 52, 50, 57, 53, 48, 48, 51, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, 34, 50, 51, 53, 51, 56, 52, - 51, 55, 51, 57, 52, 52, 55, 49, 52, 54, 54, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 46, 48, 48, 48, 48, 34, 49, 49, 52, 50, 56, 53, 57, 52, 52, 48, 50, 56, 50, - 54, 51, 52, 54, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 46, 48, 48, 48, 48, - 92, 0, 0, 32, 37, 190, 234, 124, 58, 11, 142, 39, 170, 140, 112, 127, 184, 207, 104, - 56, 162, 247, 126, 60, 48, 27, 162, 88, 154, 239, 36, 41, 18, 60, 2, 20, 224, 235, - 152, 15, 90, 195, 188, 104, 126, 94, 226, 211, 144, 214, 86, 241, 124, 214, 4, 45, - 84, 164, 18, 167, 176, 88, 158, 186, 96, 195, 220, 228, 2, 247, 26, 95, 26, 196, 168, - 210, 52, 0, 0, 0, 046, 80, 70, 148, 188, 92, 225, 42, 18, 182, 128, 24, 23, 64, 127, - 178, 208, 250, 154, 44, 107, 222, 172, 208, 146, 60, 26, 28, 169, 110, 154, 126, 68, - 164, 68, 8, 96, 184, 245, 252, 74, 154, 30, 96, 102, 132, 16, 144, 177, 96, 4, 246, - 172, 130, 135, 218, 212, 70, 200, 132, 132, 166, 145, 140, 20, 72, 189, 172, 29, 32, - 160, 194, 147, 60, 150, 142, 139, 186, 118, 188, 143, 124, 129, 196, 16, 192, 100, - 50, 85, 4, 105, 240, 254, 110, 198, 20, 92, 38, 191, 194, 240, 210, 118, 210, 145, - 168, 191, 130, 166, 56, 90, 42, 90, 118, 141, 20, 77, 18, 169, 108, 78, 192, 20, 132, - 119, 92, 35, 66, 67, 166, 25, 14, 147, 132, 212, 250, 156, 102, 91, 160, 29, 220, - 143, 72, 122, 248, 51, 234, 102, 116, 205, 152, 189, 66, 156, 228, 35, 140, 15, 206, - 124, 182, 252, 208, 156, 116, 120, 144, 223, 128, 178, 200, 189, 254, 184, 12, 244, - 46, 177, 200, 209, 96, 255, 74, 130, 214, 40, 46, 48, 150, 14, 230, 101, 188, 152, - 202, 164, 90, 38, 98, 118, 128, 54, 94, 218, 122, 227, 230, 133, 192, 17, 176, 143, - 206, 192, 148, 126, 68, 220, 8, 223, 152, 96, 62, 38, 164, 190, 62, 96, 110, 70, 196, - 144, 112, 33, 68, 109, 166, 41, 202, 200, 218, 210, 34, 81, 56, 136, 0, 0, 0, 0, 4, - 183, 218, 112, 144, 169, 40, 162, 8, 208, 216, 127, 240, 194, 110, 133, 138, 144, - 220, 21, 218, 54, 96, 82, 38, 80, 36, 130, 36, 149, 154, 96, 176, 114, 92, 217, 108, - 95, 98, 108, 244, 127, 66, 206, 32, 31, 146, 116, 2, 42, 202, 190, 2, 222, 2, 113, - 240, 201, 200, 93, 52, 201, 137, 91, 225, 70, 244, 125, 28, 69, 41, 132, 111, 16, - 133, 30, 244, 105, 22, 156, 203, 60, 173, 89, 252, 165, 222, 87, 196, 161, 27, 145, - 197, 32, 144, 5, 245, 210, 229, 17, 195, 108, 146, 17, 66, 171, 237, 222, 223, 230, - 148, 38, 116, 116, 103, 42, 35, 167, 168, 238, 245, 175, 127, 95, 132, 35, 116, 115, - 179, 128, 27, 214, 210, 96, 136, 33, 20, 181, 194, 38, 196, 206, 212, 99, 26, 110, - 164, 18, 36, 193, 62, 235, 156, 106, 183, 31, 31, 138, 81, 141, 166, 235, 4, 194, - 174, 48, 26, 195, 244, 67, 7, 50, 39, 203, 24, 205, 142, 250, 55, 216, 231, 118, 82, - 114, 130, 214, 40, 46}; - msg = std::make_shared(); - ok = msg->from_bytes(msg_buf); - // Should fail. - CHECK(ok); }