| William A. Kennington III | 403cda2 | 2022-12-12 15:52:35 -0800 | [diff] [blame^] | 1 | #include <stdplus/hash.hpp> |
| 2 | |||||
| 3 | #include <string> | ||||
| 4 | |||||
| 5 | #include <gtest/gtest.h> | ||||
| 6 | |||||
| 7 | namespace stdplus | ||||
| 8 | { | ||||
| 9 | |||||
| 10 | TEST(HashMulti, Basic) | ||||
| 11 | { | ||||
| 12 | EXPECT_EQ(0, hashMulti()); | ||||
| 13 | EXPECT_EQ(2654435834, hashMulti(1, 2)); | ||||
| 14 | hashMulti(1, std::string("bacon"), nullptr); | ||||
| 15 | } | ||||
| 16 | |||||
| 17 | } // namespace stdplus | ||||