MCPcopy Create free account
hub / github.com/baidu/babylon / TEST_F

Function TEST_F

test/anyflow/test_dependency.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118};
119
120TEST_F(DependencyTest,
121 immediately_ready_when_target_ready_and_condition_established) {
122 *c1->emit<bool>() = true;
123 *a->emit<std::string>() = "10086";
124 auto closure = graph->run(x);
125 ASSERT_EQ(0, closure.get());
126 ASSERT_EQ("10086", *x->value<::std::string>());
127}
128
129TEST_F(
130 DependencyTest,

Callers

nothing calls this directly

Calls 6

emplace_backMethod · 0.80
refMethod · 0.80
runMethod · 0.45
getMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected