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

Function ExpectContainsStr

tensorflow/js/ops/ts_op_gen_test.cc:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace {
28
29void ExpectContainsStr(StringPiece s, StringPiece expected) {
30 EXPECT_TRUE(absl::StrContains(s, expected))
31 << "'" << s << "' does not contain '" << expected << "'";
32}
33
34void ExpectDoesNotContainStr(StringPiece s, StringPiece expected) {
35 EXPECT_FALSE(absl::StrContains(s, expected))

Callers 1

TESTFunction · 0.85

Calls 1

StrContainsFunction · 0.50

Tested by

no test coverage detected