File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ use smlang::statemachine;
33statemachine ! {
44 transitions: {
55 * Init + Start = Idle ,
6- Idle | Recovery + WantsCollection = Collection ,
6+ Idle + WantsCollection = Collection ,
77 Idle + NoConfig = Calibration ,
8- Collection + WantsProcessing = Processing ,
98 Calibration + Configured = Idle ,
109 Fault + FaultCleared = Idle ,
1110 _ + FaultDetected = Fault ,
@@ -39,10 +38,6 @@ pub mod tests {
3938 // Should transition to collection when asked
4039 _ = sm. process_event ( Events :: WantsCollection ) . unwrap ( ) ;
4140 assert ! ( * sm. state( ) == States :: Collection ) ;
42-
43- // Should transition to processing when asked
44- _ = sm. process_event ( Events :: WantsProcessing ) . unwrap ( ) ;
45- assert ! ( * sm. state( ) == States :: Processing ) ;
4641 }
4742
4843 #[ test]
You can’t perform that action at this time.
0 commit comments