| 35 | namespace { |
| 36 | |
| 37 | static bool HasSubstr(StringPiece base, StringPiece substr) { |
| 38 | bool ok = absl::StrContains(base, substr); |
| 39 | EXPECT_TRUE(ok) << base << ", expected substring " << substr; |
| 40 | return ok; |
| 41 | } |
| 42 | |
| 43 | TEST(GetClassificationSignature, Basic) { |
| 44 | tensorflow::MetaGraphDef meta_graph_def; |