💡 add documentation
This commit is contained in:
parent
496ddd127c
commit
b821ed074f
3 changed files with 52 additions and 22 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue