File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,11 @@ TEST_F(ControlBlocksTest, Repeat)
8181 builder.addObscuredInput (" SUBSTACK" , substack);
8282 builder.addValueInput (" TIMES" , 5 );
8383
84+ builder.addBlock (" control_repeat" );
85+ substack = std::make_shared<Block>(" " , " test_print_test" );
86+ builder.addObscuredInput (" SUBSTACK" , substack);
87+ builder.addNullObscuredInput (" TIMES" );
88+
8489 builder.build ();
8590
8691 testing::internal::CaptureStdout ();
@@ -118,6 +123,11 @@ TEST_F(ControlBlocksTest, If)
118123 builder.addValueInput (" CONDITION" , false );
119124 builder.addObscuredInput (" SUBSTACK" , substack);
120125
126+ builder.addBlock (" control_if" );
127+ substack = std::make_shared<Block>(" " , " test_print_test" );
128+ builder.addNullObscuredInput (" CONDITION" );
129+ builder.addObscuredInput (" SUBSTACK" , substack);
130+
121131 builder.addBlock (" control_if" );
122132 substack = std::make_shared<Block>(" " , " test_print_test" );
123133 builder.addValueInput (" CONDITION" , true );
You can’t perform that action at this time.
0 commit comments