Merge branch 'master' into jgrpp

Remove 'byte' typedef
This commit is contained in:
Jonathan G Rennison
2024-05-07 17:21:50 +01:00
376 changed files with 2220 additions and 2152 deletions

View File

@@ -339,9 +339,9 @@ TEST_CASE("StrEndsWithIgnoreCase - std::string_view")
TEST_CASE("FormatArrayAsHex")
{
CHECK(FormatArrayAsHex(std::array<byte, 0>{}) == "");
CHECK(FormatArrayAsHex(std::array<byte, 1>{0x12}) == "12");
CHECK(FormatArrayAsHex(std::array<byte, 4>{0x13, 0x38, 0x42, 0xAF}) == "133842af");
CHECK(FormatArrayAsHex(std::array<uint8_t, 0>{}) == "");
CHECK(FormatArrayAsHex(std::array<uint8_t, 1>{0x12}) == "12");
CHECK(FormatArrayAsHex(std::array<uint8_t, 4>{0x13, 0x38, 0x42, 0xAF}) == "133842af");
}
TEST_CASE("ConvertHexToBytes")