mirror of
https://github.com/nlohmann/json.git
synced 2026-02-13 00:52:17 +00:00
💡 add documentation
This commit is contained in:
@@ -54,7 +54,7 @@ TEST_CASE("hash")
|
||||
hashes.insert(std::hash<json> {}(json("foo")));
|
||||
|
||||
// number
|
||||
hashes.insert(std::hash<json> {}(json(int(0))));
|
||||
hashes.insert(std::hash<json> {}(json(0)));
|
||||
hashes.insert(std::hash<json> {}(json(unsigned(0))));
|
||||
|
||||
hashes.insert(std::hash<json> {}(json(-1)));
|
||||
@@ -81,4 +81,4 @@ TEST_CASE("hash")
|
||||
hashes.insert(std::hash<json> {}(json(json::value_t::discarded)));
|
||||
|
||||
CHECK(hashes.size() == 21);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user