MCPcopy Create free account
hub / github.com/alibaba/euler / TEST

Function TEST

euler/core/framework/executor_test.cc:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42TEST(ExecutorTest, RunSimple) {
43 DAG dag("simple_graph");
44 dag.add_node("a", 0, std::unique_ptr<SimpleOp>(new SimpleOp("a")));
45 dag.add_node("b", 1, std::unique_ptr<SimpleOp>(new SimpleOp("b")));
46 dag.add_node("c", 2, std::unique_ptr<SimpleOp>(new SimpleOp("c")));
47 dag.add_edge(0, 0, 1, 0);
48 dag.add_edge(1, 0, 2, 0);
49
50 Executor executor(&dag, nullptr);
51 executor.Run();
52}
53
54
55} // namespace

Callers

nothing calls this directly

Calls 3

RunMethod · 0.80
add_nodeMethod · 0.45
add_edgeMethod · 0.45

Tested by

no test coverage detected