@@ -67,10 +67,6 @@ fn assert_tree(
67
67
build_tree ( params, halt_flag, tree, & |prog| {
68
68
* access ( & visited_count) += 1 ;
69
69
70
- if prog. incomplete ( params, halt_flag) {
71
- return ;
72
- }
73
-
74
70
if pipeline ( prog, params) {
75
71
return ;
76
72
}
@@ -86,6 +82,7 @@ fn assert_tree(
86
82
}
87
83
88
84
#[ test]
85
+ #[ expect( clippy:: too_many_lines) ]
89
86
fn test_tree ( ) {
90
87
assert_trees ! [
91
88
(
@@ -172,7 +169,7 @@ fn test_tree() {
172
169
}
173
170
) ,
174
171
(
175
- ( ( 2 , 4 ) , 1 , 109 , ( 33 , 312_642 ) ) ,
172
+ ( ( 2 , 4 ) , 1 , 109 , ( 37 , 312_642 ) ) ,
176
173
//
177
174
|prog: & CompProg , prms: Params | {
178
175
prog. cant_halt( 0 ) . is_settled( )
@@ -184,7 +181,7 @@ fn test_tree() {
184
181
}
185
182
) ,
186
183
(
187
- ( ( 2 , 4 ) , 0 , 876 , ( 1_399 , 1_719_357 ) ) ,
184
+ ( ( 2 , 4 ) , 0 , 876 , ( 1_412 , 1_719_357 ) ) ,
188
185
//
189
186
|prog: & CompProg , prms: Params | {
190
187
prog. cant_spin_out( 2 ) . is_settled( )
@@ -194,6 +191,10 @@ fn test_tree() {
194
191
|| prog. cps_cant_spin_out( 6 )
195
192
|| prog. seg_cant_spin_out( prms, 4 ) . is_refuted( )
196
193
|| check_inf( prog, prms, opt_block( prog, 300 ) , 1000 )
194
+ || ( prog. incomplete( prms, false ) && {
195
+ prog. seg_cant_halt( prms, 5 ) . is_refuted( )
196
+ || prog. cps_cant_halt( 6 )
197
+ } )
197
198
}
198
199
) ,
199
200
] ;
0 commit comments