MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / HasSubstr

Function HasSubstr

tensorflow/core/graph/subgraph_test.cc:315–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315static bool HasSubstr(StringPiece base, StringPiece substr) {
316 bool ok = absl::StrContains(base, substr);
317 EXPECT_TRUE(ok) << base << ", expected substring " << substr;
318 return ok;
319}
320
321TEST_F(SubgraphTest, Errors) {
322 ExpectOK(

Callers 15

TEST_FFunction · 0.70
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TEST_FFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TEST_FFunction · 0.50
TESTFunction · 0.50
TEST_FFunction · 0.50

Calls 1

StrContainsFunction · 0.50

Tested by

no test coverage detected