#include "StarHash.hpp" #include "gtest/gtest.h" TEST(HashTest, All) { enum SomeEnum { Foo, Bar }; std::tuple testTuple(1, 2, false); std::pair testPair(SomeEnum::Bar, 10); // Yeah yeah, I know that it's technically possible for the hash to be zero, // but it's not! EXPECT_NE(Star::hash()(testTuple), 0u); EXPECT_NE(Star::hash()(testPair), 0u); }