OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "cc/hash_pair.h" | 5 #include "cc/hash_pair.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 typedef std::pair<int64, int32> Int64Int32Pair; | 60 typedef std::pair<int64, int32> Int64Int32Pair; |
61 typedef std::pair<int64, int64> Int64Int64Pair; | 61 typedef std::pair<int64, int64> Int64Int64Pair; |
62 | 62 |
63 INSERT_PAIR_TEST(Int64ShortPair, 4, 6); | 63 INSERT_PAIR_TEST(Int64ShortPair, 4, 6); |
64 INSERT_PAIR_TEST(Int64IntPair, 7, (1 << 30) + 4342); | 64 INSERT_PAIR_TEST(Int64IntPair, 7, (1 << 30) + 4342); |
65 INSERT_PAIR_TEST(Int64Int32Pair, 9, (1 << 29) + 378128932); | 65 INSERT_PAIR_TEST(Int64Int32Pair, 9, (1 << 29) + 378128932); |
66 INSERT_PAIR_TEST(Int64Int64Pair, 10, | 66 INSERT_PAIR_TEST(Int64Int64Pair, 10, |
67 (GG_INT64_C(1) << 60) + GG_INT64_C(78931732321)); | 67 (GG_INT64_C(1) << 60) + GG_INT64_C(78931732321)); |
68 } | 68 } |
69 | 69 |
70 } // anonymous namespace | 70 } // namespace |
OLD | NEW |