mirror of
https://github.com/nlohmann/json.git
synced 2026-03-18 15:06:00 +00:00
✅ add tests for binary type
This commit is contained in:
@@ -58,6 +58,7 @@ TEST_CASE("convenience functions")
|
||||
CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number");
|
||||
CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number");
|
||||
CHECK(std::string(json(json::value_t::number_float).type_name()) == "number");
|
||||
CHECK(std::string(json(json::value_t::binary).type_name()) == "binary");
|
||||
CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean");
|
||||
CHECK(std::string(json(json::value_t::string).type_name()) == "string");
|
||||
CHECK(std::string(json(json::value_t::discarded).type_name()) == "discarded");
|
||||
|
||||
Reference in New Issue
Block a user