| Index: components/rappor/byte_vector_utils_unittest.cc
|
| diff --git a/components/rappor/byte_vector_utils_unittest.cc b/components/rappor/byte_vector_utils_unittest.cc
|
| index 54df9ea16455fc6c4075260e484bca0cab33bd23..672fa8d6626a5b0b8d001a3a98337b47da6e6af6 100644
|
| --- a/components/rappor/byte_vector_utils_unittest.cc
|
| +++ b/components/rappor/byte_vector_utils_unittest.cc
|
| @@ -26,6 +26,15 @@ std::string HexToString(const char* hex) {
|
|
|
| } // namespace
|
|
|
| +TEST(ByteVectorTest, ByteVectorAnd) {
|
| + ByteVector lhs(2);
|
| + lhs[1] = 0x12;
|
| + ByteVector rhs(2);
|
| + rhs[1] = 0x03;
|
| +
|
| + EXPECT_EQ(0x02, (*ByteVectorAnd(lhs, &rhs))[1]);
|
| +}
|
| +
|
| TEST(ByteVectorTest, ByteVectorOr) {
|
| ByteVector lhs(2);
|
| lhs[1] = 0x12;
|
|
|