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

Function ExpectCUnescapeSuccess

tensorflow/core/platform/str_util_test.cc:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32string ExpectCUnescapeSuccess(StringPiece source) {
33 string dest;
34 string error;
35 EXPECT_TRUE(str_util::CUnescape(source, &dest, &error)) << error;
36 return dest;
37}
38
39TEST(CUnescape, Basic) {
40 EXPECT_EQ("hello", ExpectCUnescapeSuccess("hello"));

Callers 1

TESTFunction · 0.85

Calls 1

CUnescapeFunction · 0.85

Tested by

no test coverage detected