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

Function TEST_F

tensorflow/core/graph/graph_test.cc:156–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154};
155
156TEST_F(GraphTest, Constructor) {
157 Node* source = graph_.source_node();
158 EXPECT_NE(source, nullptr);
159 Node* sink = graph_.sink_node();
160 EXPECT_NE(sink, nullptr);
161 VerifyNodes(source, {}, {sink});
162 VerifyNodes(sink, {source}, {});
163 EXPECT_EQ(2, graph_.num_node_ids());
164 VerifyGraphStats();
165}
166
167TEST_F(GraphTest, RemoveThenAdd) {
168 AddNodeWithName("A");

Callers

nothing calls this directly

Calls 15

CheckTypeFunction · 0.85
EdgeIterFunction · 0.85
StartsWithFunction · 0.85
XTimesTwoFunction · 0.85
XTimesFourFunction · 0.85
num_edge_idsMethod · 0.80
input_nodeMethod · 0.80
input_edgeMethod · 0.80
input_edgesMethod · 0.80
IsSourceMethod · 0.80
IsSinkMethod · 0.80
IsOpMethod · 0.80

Tested by

no test coverage detected