We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48bde8d commit 93a3964Copy full SHA for 93a3964
core/test/test_pruning.cpp
@@ -127,6 +127,19 @@ TEST_F(Pruning, PropagateIntoContainer) {
127
EXPECT_EQ(con->runs_, 0u);
128
}
129
130
+TEST_F(Pruning, PropagateIntoContainerAndReactivate) {
131
+ add(t, new GeneratorMockup({ 0 }));
132
+
133
+ auto serial = add(t, new SerialContainer());
134
+ auto con = add(*serial, new ConnectMockup({ 10, 20 }));
135
+ add(*serial, new GeneratorMockup({ 0, 1 }));
136
137
+ add(t, new ForwardMockup({ INF, 0 }));
138
139
+ EXPECT_TRUE(t.plan());
140
+ EXPECT_EQ(con->runs_, 1u);
141
+}
142
143
TEST_F(Pruning, PropagateFromContainerPull) {
144
auto back = add(t, new BackwardMockup());
145
add(t, new BackwardMockup());
0 commit comments