| 176 | } |
| 177 | |
| 178 | void ExpectDifferent(const AttrValue& a1, const AttrValue& a2) { |
| 179 | EXPECT_FALSE(AreAttrValuesEqual(a1, a2)); |
| 180 | EXPECT_FALSE(AreAttrValuesEqual(a2, a1)); |
| 181 | EXPECT_NE(AttrValueHash(a1), AttrValueHash(a2)); |
| 182 | } |
| 183 | |
| 184 | TEST(AttrValueEquality, StringAndFuncTensors) { |
| 185 | AttrValue a = FromText(R"( |
no test coverage detected