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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "device/bluetooth/bluetooth_utils.h" | 6 #include "device/bluetooth/bluetooth_utils.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 namespace device { | 9 namespace device { |
10 namespace bluetooth_utils { | 10 namespace bluetooth_utils { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 EXPECT_EQ(kValid128Bit1, uuid5.canonical_value()); | 97 EXPECT_EQ(kValid128Bit1, uuid5.canonical_value()); |
98 | 98 |
99 // uuid4, uuid5, and uuid1 are equivalent. | 99 // uuid4, uuid5, and uuid1 are equivalent. |
100 EXPECT_EQ(uuid4, uuid5); | 100 EXPECT_EQ(uuid4, uuid5); |
101 EXPECT_EQ(uuid1, uuid4); | 101 EXPECT_EQ(uuid1, uuid4); |
102 EXPECT_EQ(uuid1, uuid5); | 102 EXPECT_EQ(uuid1, uuid5); |
103 } | 103 } |
104 | 104 |
105 } // namespace bluetooth_utils | 105 } // namespace bluetooth_utils |
106 } // namespace device | 106 } // namespace device |
OLD | NEW |