| 333 | } |
| 334 | |
| 335 | static void CheckHexSigned32(int32 v) { |
| 336 | using tensorflow::strings::Hex; |
| 337 | string actual = StrCat(Hex(v, tensorflow::strings::kZeroPad8)); |
| 338 | string expected = Printf("%08x", v); |
| 339 | EXPECT_EQ(expected, actual) << " decimal value " << v; |
| 340 | |
| 341 | actual = StrCat(Hex(v)); |
| 342 | expected = Printf("%x", v); |
| 343 | EXPECT_EQ(expected, actual) << " decimal value " << v; |
| 344 | } |
| 345 | |
| 346 | static void TestFastPrints() { |
| 347 | using tensorflow::strings::Hex; |
no test coverage detected