Lines Matching defs:expected

234             std::vector<uint8_t> expected = {'Z'};
236 CHECK(result == expected);
248 std::vector<uint8_t> expected = {'T'};
250 CHECK(result == expected);
260 std::vector<uint8_t> expected = {'F'};
262 CHECK(result == expected);
298 // create expected byte vector
299 std::vector<uint8_t> expected;
300 expected.push_back(static_cast<uint8_t>('L'));
301 expected.push_back(static_cast<uint8_t>(i & 0xff));
302 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
303 expected.push_back(static_cast<uint8_t>((i >> 16) & 0xff));
304 expected.push_back(static_cast<uint8_t>((i >> 24) & 0xff));
305 expected.push_back(static_cast<uint8_t>((i >> 32) & 0xff));
306 expected.push_back(static_cast<uint8_t>((i >> 40) & 0xff));
307 expected.push_back(static_cast<uint8_t>((i >> 48) & 0xff));
308 expected.push_back(static_cast<uint8_t>((i >> 56) & 0xff));
312 CHECK(result == expected);
353 // create expected byte vector
354 std::vector<uint8_t> expected;
355 expected.push_back(static_cast<uint8_t>('l'));
356 expected.push_back(static_cast<uint8_t>(i & 0xff));
357 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
358 expected.push_back(static_cast<uint8_t>((i >> 16) & 0xff));
359 expected.push_back(static_cast<uint8_t>((i >> 24) & 0xff));
363 CHECK(result == expected);
392 // create expected byte vector
393 std::vector<uint8_t> expected;
394 expected.push_back(static_cast<uint8_t>('I'));
395 expected.push_back(static_cast<uint8_t>(i & 0xff));
396 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
400 CHECK(result == expected);
417 std::vector<uint8_t> expected = {'I', 0xd1, 0xdb};
421 CHECK(result == expected);
446 // create expected byte vector
447 std::vector<uint8_t> expected;
448 expected.push_back('i');
449 expected.push_back(static_cast<uint8_t>(i));
453 CHECK(result == expected);
479 // create expected byte vector
480 std::vector<uint8_t> expected;
481 expected.push_back(static_cast<uint8_t>('i'));
482 expected.push_back(static_cast<uint8_t>(i));
486 CHECK(result == expected);
512 // create expected byte vector
513 std::vector<uint8_t> expected;
514 expected.push_back(static_cast<uint8_t>('U'));
515 expected.push_back(static_cast<uint8_t>(i));
519 CHECK(result == expected);
545 // create expected byte vector
546 std::vector<uint8_t> expected;
547 expected.push_back(static_cast<uint8_t>('I'));
548 expected.push_back(static_cast<uint8_t>(i & 0xff));
549 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
553 CHECK(result == expected);
583 // create expected byte vector
584 std::vector<uint8_t> expected;
585 expected.push_back(static_cast<uint8_t>('u'));
586 expected.push_back(static_cast<uint8_t>(i & 0xff));
587 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
591 CHECK(result == expected);
621 // create expected byte vector
622 std::vector<uint8_t> expected;
623 expected.push_back('l');
624 expected.push_back(static_cast<uint8_t>(i & 0xff));
625 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
626 expected.push_back(static_cast<uint8_t>((i >> 16) & 0xff));
627 expected.push_back(static_cast<uint8_t>((i >> 24) & 0xff));
631 CHECK(result == expected);
664 // create expected byte vector
665 std::vector<uint8_t> expected;
666 expected.push_back('m');
667 expected.push_back(static_cast<uint8_t>(i & 0xff));
668 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
669 expected.push_back(static_cast<uint8_t>((i >> 16) & 0xff));
670 expected.push_back(static_cast<uint8_t>((i >> 24) & 0xff));
674 CHECK(result == expected);
705 // create expected byte vector
706 std::vector<uint8_t> expected;
707 expected.push_back('L');
708 expected.push_back(static_cast<uint8_t>(i & 0xff));
709 expected.push_back(static_cast<uint8_t>((i >> 010) & 0xff));
710 expected.push_back(static_cast<uint8_t>((i >> 020) & 0xff));
711 expected.push_back(static_cast<uint8_t>((i >> 030) & 0xff));
712 expected.push_back(static_cast<uint8_t>((i >> 040) & 0xff));
713 expected.push_back(static_cast<uint8_t>((i >> 050) & 0xff));
714 expected.push_back(static_cast<uint8_t>((i >> 060) & 0xff));
715 expected.push_back(static_cast<uint8_t>((i >> 070) & 0xff));
719 CHECK(result == expected);
753 // create expected byte vector
754 std::vector<uint8_t> expected;
755 expected.push_back('M');
756 expected.push_back(static_cast<uint8_t>(i & 0xff));
757 expected.push_back(static_cast<uint8_t>((i >> 010) & 0xff));
758 expected.push_back(static_cast<uint8_t>((i >> 020) & 0xff));
759 expected.push_back(static_cast<uint8_t>((i >> 030) & 0xff));
760 expected.push_back(static_cast<uint8_t>((i >> 040) & 0xff));
761 expected.push_back(static_cast<uint8_t>((i >> 050) & 0xff));
762 expected.push_back(static_cast<uint8_t>((i >> 060) & 0xff));
763 expected.push_back(static_cast<uint8_t>((i >> 070) & 0xff));
767 CHECK(result == expected);
803 // create expected byte vector
804 std::vector<uint8_t> expected;
805 expected.push_back('i');
806 expected.push_back(static_cast<uint8_t>(i));
810 CHECK(result == expected);
836 // create expected byte vector
837 std::vector<uint8_t> expected;
838 expected.push_back('U');
839 expected.push_back(static_cast<uint8_t>(i));
843 CHECK(result == expected);
869 // create expected byte vector
870 std::vector<uint8_t> expected;
871 expected.push_back('I');
872 expected.push_back(static_cast<uint8_t>(i & 0xff));
873 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
877 CHECK(result == expected);
906 // create expected byte vector
907 std::vector<uint8_t> expected;
908 expected.push_back('u');
909 expected.push_back(static_cast<uint8_t>(i & 0xff));
910 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
914 CHECK(result == expected);
942 // create expected byte vector
943 std::vector<uint8_t> expected;
944 expected.push_back('l');
945 expected.push_back(static_cast<uint8_t>(i & 0xff));
946 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
947 expected.push_back(static_cast<uint8_t>((i >> 16) & 0xff));
948 expected.push_back(static_cast<uint8_t>((i >> 24) & 0xff));
952 CHECK(result == expected);
984 // create expected byte vector
985 std::vector<uint8_t> expected;
986 expected.push_back('m');
987 expected.push_back(static_cast<uint8_t>(i & 0xff));
988 expected.push_back(static_cast<uint8_t>((i >> 8) & 0xff));
989 expected.push_back(static_cast<uint8_t>((i >> 16) & 0xff));
990 expected.push_back(static_cast<uint8_t>((i >> 24) & 0xff));
994 CHECK(result == expected);
1024 // create expected byte vector
1025 std::vector<uint8_t> expected;
1026 expected.push_back('L');
1027 expected.push_back(static_cast<uint8_t>(i & 0xff));
1028 expected.push_back(static_cast<uint8_t>((i >> 010) & 0xff));
1029 expected.push_back(static_cast<uint8_t>((i >> 020) & 0xff));
1030 expected.push_back(static_cast<uint8_t>((i >> 030) & 0xff));
1031 expected.push_back(static_cast<uint8_t>((i >> 040) & 0xff));
1032 expected.push_back(static_cast<uint8_t>((i >> 050) & 0xff));
1033 expected.push_back(static_cast<uint8_t>((i >> 060) & 0xff));
1034 expected.push_back(static_cast<uint8_t>((i >> 070) & 0xff));
1038 CHECK(result == expected);
1072 // create expected byte vector
1073 std::vector<uint8_t> expected;
1074 expected.push_back('M');
1075 expected.push_back(static_cast<uint8_t>(i & 0xff));
1076 expected.push_back(static_cast<uint8_t>((i >> 010) & 0xff));
1077 expected.push_back(static_cast<uint8_t>((i >> 020) & 0xff));
1078 expected.push_back(static_cast<uint8_t>((i >> 030) & 0xff));
1079 expected.push_back(static_cast<uint8_t>((i >> 040) & 0xff));
1080 expected.push_back(static_cast<uint8_t>((i >> 050) & 0xff));
1081 expected.push_back(static_cast<uint8_t>((i >> 060) & 0xff));
1082 expected.push_back(static_cast<uint8_t>((i >> 070) & 0xff));
1086 CHECK(result == expected);
1113 std::vector<uint8_t> expected =
1118 CHECK(result == expected);
1285 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vec4), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x02", json::parse_error);
1302 // create expected byte vector
1303 std::vector<uint8_t> expected;
1304 expected.push_back('S');
1305 expected.push_back('i');
1306 expected.push_back(static_cast<uint8_t>(N));
1309 expected.push_back('x');
1314 CHECK(result == expected);
1338 // create expected byte vector
1339 std::vector<uint8_t> expected;
1340 expected.push_back('S');
1341 expected.push_back('U');
1342 expected.push_back(static_cast<uint8_t>(N));
1345 expected.push_back('x');
1350 CHECK(result == expected);
1374 // create expected byte vector (hack: create string first)
1375 std::vector<uint8_t> expected(N, 'x');
1377 expected.insert(expected.begin(), static_cast<uint8_t>((N >> 8) & 0xff));
1378 expected.insert(expected.begin(), static_cast<uint8_t>(N & 0xff));
1379 expected.insert(expected.begin(), 'I');
1380 expected.insert(expected.begin(), 'S');
1384 CHECK(result == expected);
1408 // create expected byte vector (hack: create string first)
1409 std::vector<uint8_t> expected(N, 'x');
1411 expected.insert(expected.begin(), static_cast<uint8_t>((N >> 8) & 0xff));
1412 expected.insert(expected.begin(), static_cast<uint8_t>(N & 0xff));
1413 expected.insert(expected.begin(), 'u');
1414 expected.insert(expected.begin(), 'S');
1418 CHECK(result == expected);
1442 // create expected byte vector (hack: create string first)
1443 std::vector<uint8_t> expected(N, 'x');
1445 expected.insert(expected.begin(), static_cast<uint8_t>((N >> 24) & 0xff));
1446 expected.insert(expected.begin(), static_cast<uint8_t>((N >> 16) & 0xff));
1447 expected.insert(expected.begin(), static_cast<uint8_t>((N >> 8) & 0xff));
1448 expected.insert(expected.begin(), static_cast<uint8_t>(N & 0xff));
1449 expected.insert(expected.begin(), 'l');
1450 expected.insert(expected.begin(), 'S');
1454 CHECK(result == expected);
1479 // create expected byte vector
1480 std::vector<std::uint8_t> expected;
1481 expected.push_back(static_cast<std::uint8_t>('['));
1484 expected.push_back(static_cast<std::uint8_t>('$'));
1485 expected.push_back(static_cast<std::uint8_t>('U'));
1487 expected.push_back(static_cast<std::uint8_t>('#'));
1488 expected.push_back(static_cast<std::uint8_t>('i'));
1489 expected.push_back(static_cast<std::uint8_t>(N));
1492 expected.push_back(0x78);
1497 CHECK(result == expected);
1530 // create expected byte vector
1531 std::vector<uint8_t> expected;
1532 expected.push_back(static_cast<std::uint8_t>('['));
1533 expected.push_back(static_cast<std::uint8_t>('$'));
1534 expected.push_back(static_cast<std::uint8_t>('U'));
1535 expected.push_back(static_cast<std::uint8_t>('#'));
1536 expected.push_back(static_cast<std::uint8_t>('U'));
1537 expected.push_back(static_cast<std::uint8_t>(N));
1540 expected.push_back(0x78);
1545 CHECK(result == expected);
1570 // create expected byte vector
1571 std::vector<std::uint8_t> expected(N + 7, 'x');
1572 expected[0] = '[';
1573 expected[1] = '$';
1574 expected[2] = 'U';
1575 expected[3] = '#';
1576 expected[4] = 'I';
1577 expected[5] = static_cast<std::uint8_t>(N & 0xFF);
1578 expected[6] = static_cast<std::uint8_t>((N >> 8) & 0xFF);
1582 CHECK(result == expected);
1607 // create expected byte vector
1608 std::vector<std::uint8_t> expected(N + 7, 'x');
1609 expected[0] = '[';
1610 expected[1] = '$';
1611 expected[2] = 'U';
1612 expected[3] = '#';
1613 expected[4] = 'u';
1614 expected[5] = static_cast<std::uint8_t>(N & 0xFF);
1615 expected[6] = static_cast<std::uint8_t>((N >> 8) & 0xFF);
1619 CHECK(result == expected);
1644 // create expected byte vector
1645 std::vector<std::uint8_t> expected(N + 9, 'x');
1646 expected[0] = '[';
1647 expected[1] = '$';
1648 expected[2] = 'U';
1649 expected[3] = '#';
1650 expected[4] = 'l';
1651 expected[5] = static_cast<std::uint8_t>(N & 0xFF);
1652 expected[6] = static_cast<std::uint8_t>((N >> 8) & 0xFF);
1653 expected[7] = static_cast<std::uint8_t>((N >> 16) & 0xFF);
1654 expected[8] = static_cast<std::uint8_t>((N >> 24) & 0xFF);
1658 CHECK(result == expected);
1678 std::vector<uint8_t> expected;
1679 expected.push_back(static_cast<std::uint8_t>('['));
1682 expected.push_back(static_cast<std::uint8_t>('U'));
1683 expected.push_back(static_cast<std::uint8_t>(0x78));
1685 expected.push_back(static_cast<std::uint8_t>(']'));
1689 CHECK(result == expected);
1702 std::vector<std::uint8_t> expected;
1703 expected.push_back(static_cast<std::uint8_t>('['));
1704 expected.push_back(static_cast<std::uint8_t>('#'));
1705 expected.push_back(static_cast<std::uint8_t>('i'));
1706 expected.push_back(static_cast<std::uint8_t>(N));
1710 expected.push_back(static_cast<std::uint8_t>('U'));
1711 expected.push_back(static_cast<std::uint8_t>(0x78));
1716 CHECK(result == expected);
1735 std::vector<uint8_t> expected = {'[', ']'};
1737 CHECK(result == expected);
1747 std::vector<uint8_t> expected = {'[', '#', 'i', 0};
1749 CHECK(result == expected);
1759 std::vector<uint8_t> expected = {'[', '#', 'i', 0};
1761 CHECK(result == expected);
1774 std::vector<uint8_t> expected = {'[', 'Z', ']'};
1776 CHECK(result == expected);
1786 std::vector<uint8_t> expected = {'[', '#', 'i', 1, 'Z'};
1788 CHECK(result == expected);
1798 std::vector<uint8_t> expected = {'[', '#', 'i', 1, 'Z'};
1800 CHECK(result == expected);
1813 std::vector<uint8_t> expected = {'[', 'i', 1, 'i', 2, 'i', 3, 'i', 4, 'i', 5, ']'};
1815 CHECK(result == expected);
1825 std::vector<uint8_t> expected = {'[', '#', 'i', 5, 'i', 1, 'i', 2, 'i', 3, 'i', 4, 'i', 5};
1827 CHECK(result == expected);
1837 std::vector<uint8_t> expected = {'[', '$', 'i', '#', 'i', 5, 1, 2, 3, 4, 5};
1839 CHECK(result == expected);
1852 std::vector<uint8_t> expected = {'[', '[', '[', '[', ']', ']', ']', ']'};
1854 CHECK(result == expected);
1864 std::vector<uint8_t> expected = {'[', '#', 'i', 1, '[', '#', 'i', 1, '[', '#', 'i', 1, '[', '#', 'i', 0};
1866 CHECK(result == expected);
1876 std::vector<uint8_t> expected = {'[', '#', 'i', 1, '[', '#', 'i', 1, '[', '#', 'i', 1, '[', '#', 'i', 0};
1878 CHECK(result == expected);
1891 std::vector<uint8_t> expected(j.size() + 2, 'Z'); // all null
1892 expected[0] = '['; // opening array
1893 expected[258] = ']'; // closing array
1895 CHECK(result == expected);
1905 std::vector<uint8_t> expected(j.size() + 5, 'Z'); // all null
1906 expected[0] = '['; // opening array
1907 expected[1] = '#'; // array size
1908 expected[2] = 'I'; // int16
1909 expected[3] = 0x01; // 0x0101, first byte
1910 expected[4] = 0x01; // 0x0101, second byte
1912 CHECK(result == expected);
1925 std::vector<uint8_t> expected(j.size() + 2, 'Z'); // all null
1926 expected[0] = '['; // opening array
1927 expected[32769] = ']'; // closing array
1929 CHECK(result == expected);
1939 std::vector<uint8_t> expected(j.size() + 5, 'Z'); // all null
1940 expected[0] = '['; // opening array
1941 expected[1] = '#'; // array size
1942 expected[2] = 'u'; // int16
1943 expected[3] = 0x00; // 0x0101, first byte
1944 expected[4] = 0x80; // 0x0101, second byte
1946 CHECK(result == expected);
1959 std::vector<uint8_t> expected(j.size() + 2, 'Z'); // all null
1960 expected[0] = '['; // opening array
1961 expected[65794] = ']'; // closing array
1963 CHECK(result == expected);
1973 std::vector<uint8_t> expected(j.size() + 7, 'Z'); // all null
1974 expected[0] = '['; // opening array
1975 expected[1] = '#'; // array size
1976 expected[2] = 'l'; // int32
1977 expected[3] = 0x01; // 0x00010101, fourth byte
1978 expected[4] = 0x01; // 0x00010101, third byte
1979 expected[5] = 0x01; // 0x00010101, second byte
1980 expected[6] = 0x00; // 0x00010101, first byte
1982 CHECK(result == expected);
1998 std::vector<uint8_t> expected = {'{', '}'};
2000 CHECK(result == expected);
2010 std::vector<uint8_t> expected = {'{', '#', 'i', 0};
2012 CHECK(result == expected);
2022 std::vector<uint8_t> expected = {'{', '#', 'i', 0};
2024 CHECK(result == expected);
2037 std::vector<uint8_t> expected = {'{', 'i', 0, 'Z', '}'};
2039 CHECK(result == expected);
2049 std::vector<uint8_t> expected = {'{', '#', 'i', 1, 'i', 0, 'Z'};
2051 CHECK(result == expected);
2064 std::vector<uint8_t> expected =
2069 CHECK(result == expected);
2079 std::vector<uint8_t> expected =
2084 CHECK(result == expected);
2094 std::vector<uint8_t> expected =
2099 CHECK(result == expected);
2124 "[json.exception.parse_error.110] parse error at byte 2: syntax error while parsing BJData value: expected end of input; last byte: 0x5A", json::parse_error&);
2575 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing BJData string: expected length type specification (U, i, u, I, m, l, M, L); last byte: 0x31", json::parse_error&);
2587 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(s_u), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing UBJSON string: expected length type specification (U, i, I, l, L); last byte: 0x75", json::parse_error&);
2588 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(s_m), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing UBJSON string: expected length type specification (U, i, I, l, L); last byte: 0x6D", json::parse_error&);
2589 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(s_M), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing UBJSON string: expected length type specification (U, i, I, l, L); last byte: 0x4D", json::parse_error&);
2599 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(v), "[json.exception.parse_error.112] parse error at byte 4: syntax error while parsing BJData size: expected '#' after type information; last byte: 0x02", json::parse_error&);
2772 CHECK_THROWS_WITH(_ = json::from_bjdata(v0), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x54");
2780 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(vu), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x75", json::parse_error&);
2784 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(vm), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x6D", json::parse_error&);
2788 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(vM), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x4D", json::parse_error&);
2792 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(v0), "[json.exception.parse_error.113] parse error at byte 3: syntax error while parsing UBJSON size: expected length type specification (U, i, I, l, L) after '#'; last byte: 0x5B", json::parse_error&);
2836 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vST), "[json.exception.parse_error.113] parse error at byte 9: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0xFF", json::parse_error&);
2848 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vS), "[json.exception.parse_error.113] parse error at byte 9: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x01", json::parse_error&);
2886 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vRo), "[json.exception.parse_error.113] parse error at byte 8: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x7B", json::parse_error&);
2894 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vR2), "[json.exception.parse_error.113] parse error at byte 11: syntax error while parsing BJData size: expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x5D", json::parse_error&);
2926 CHECK_THROWS_WITH(_ = json::from_bjdata(vT), "[json.exception.parse_error.112] parse error at byte 4: syntax error while parsing BJData size: expected '#' after type information; last byte: 0x69");
2970 std::vector<uint8_t> expected = {'[', '$', 'i', '#', 'i', 2, 1, 0xff};
2971 CHECK(json::to_bjdata(j, true, true) == expected);
2977 std::vector<uint8_t> expected = {'[', '$', 'U', '#', 'i', 2, 0xC8, 0xC9};
2978 CHECK(json::to_bjdata(j, true, true) == expected);
2984 std::vector<uint8_t> expected = {'[', '$', 'I', '#', 'i', 2, 0x30, 0x75, 0xd0, 0x8a};
2985 CHECK(json::to_bjdata(j, true, true) == expected);
2991 std::vector<uint8_t> expected = {'[', '$', 'u', '#', 'i', 2, 0x50, 0xC3, 0x51, 0xC3};
2992 CHECK(json::to_bjdata(j, true, true) == expected);
2998 std::vector<uint8_t> expected = {'[', '$', 'l', '#', 'i', 2, 0x70, 0x11, 0x01, 0x00, 0x90, 0xEE, 0xFE, 0xFF};
2999 CHECK(json::to_bjdata(j, true, true) == expected);
3005 std::vector<uint8_t> expected = {'[', '$', 'm', '#', 'i', 2, 0xFF, 0xC9, 0x9A, 0xBB, 0x00, 0xCA, 0x9A, 0xBB};
3006 CHECK(json::to_bjdata(j, true, true) == expected);
3012 std::vector<uint8_t> expected = {'[', '$', 'L', '#', 'i', 2, 0x00, 0xF2, 0x05, 0x2A, 0x01, 0x00, 0x00, 0x00, 0x00, 0x0E, 0xFA, 0xD5, 0xFE, 0xFF, 0xFF, 0xFF};
3013 CHECK(json::to_bjdata(j, true, true) == expected);
3022 std::vector<uint8_t> expected = {'[', '$', 'i', '#', 'i', 2, 1, 2};
3024 CHECK(json::to_bjdata(j, true, true) == expected);
3031 std::vector<uint8_t> expected = {'[', '$', 'U', '#', 'i', 2, 0xC8, 0xC9};
3033 CHECK(json::to_bjdata(j, true, true) == expected);
3040 std::vector<uint8_t> expected = {'[', '$', 'I', '#', 'i', 2, 0x30, 0x75, 0x31, 0x75};
3042 CHECK(json::to_bjdata(j, true, true) == expected);
3049 std::vector<uint8_t> expected = {'[', '$', 'u', '#', 'i', 2, 0x50, 0xC3, 0x51, 0xC3};
3051 CHECK(json::to_bjdata(j, true, true) == expected);
3058 std::vector<uint8_t> expected = {'[', '$', 'l', '#', 'i', 2, 0x70, 0x11, 0x01, 0x00, 0x71, 0x11, 0x01, 0x00};
3060 CHECK(json::to_bjdata(j, true, true) == expected);
3067 std::vector<uint8_t> expected = {'[', '$', 'm', '#', 'i', 2, 0xFF, 0xC9, 0x9A, 0xBB, 0x00, 0xCA, 0x9A, 0xBB};
3069 CHECK(json::to_bjdata(j, true, true) == expected);
3076 std::vector<uint8_t> expected = {'[', '$', 'L', '#', 'i', 2, 0x00, 0xF2, 0x05, 0x2A, 0x01, 0x00, 0x00, 0x00, 0x01, 0xF2, 0x05, 0x2A, 0x01, 0x00, 0x00, 0x00};
3078 CHECK(json::to_bjdata(j, true, true) == expected);
3085 std::vector<uint8_t> expected = {'[', '$', 'M', '#', 'i', 2, 0xFF, 0xFF, 0x63, 0xA7, 0xB3, 0xB6, 0xE0, 0x8D, 0x00, 0x00, 0x64, 0xA7, 0xB3, 0xB6, 0xE0, 0x8D};
3087 CHECK(json::to_bjdata(j, true, true) == expected);