blob: 23e0e267595cc014c634f545fd847ae305ef6793 [file] [log] [blame]
William A. Kennington III403cda22022-12-12 15:52:35 -08001#include <stdplus/hash.hpp>
2
3#include <string>
4
5#include <gtest/gtest.h>
6
7namespace stdplus
8{
9
10TEST(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