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

Function TEST

tensorflow/java/src/gen/cc/source_writer_test.cc:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27TEST(AppendTest, SingleLineText) {
28 SourceBufferWriter writer;
29 writer.Append("You say goodbye and I say hello!");
30
31 const char* expected = "You say goodbye and I say hello!";
32 ASSERT_STREQ(expected, writer.str().data());
33}
34
35TEST(AppendTest, MultiLineText) {
36 SourceBufferWriter writer;

Callers

nothing calls this directly

Calls 9

add_argumentMethod · 0.80
nameMethod · 0.65
JoinPathFunction · 0.50
TensorFlowSrcRootFunction · 0.50
CreateFunction · 0.50
AppendMethod · 0.45
dataMethod · 0.45
WriteMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected