mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-10 08:40:41 +00:00
Split this test up into two smaller, and more focused tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6632ba380
commit
21d60d5161
@ -70,7 +70,9 @@ TEST(HashingTest, HashValueBasicTest) {
|
||||
EXPECT_EQ(hash_value(c), hash_value('x'));
|
||||
EXPECT_EQ(hash_value('4'), hash_value('0' + 4));
|
||||
EXPECT_EQ(hash_value(addr), hash_value(&y));
|
||||
}
|
||||
|
||||
TEST(HashingTest, HashValueStdPair) {
|
||||
EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43)));
|
||||
EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43)));
|
||||
EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user