Add a test for the FSM
Accepted By: @wraitii
Differential Revision: https://code.wildfiregames.com/D4902
@phosit tests should also follow CC.
Incorrect function naming by CC.
We don't use lower camel case for enums. Even tests should follow CC. Also unsigned int is redundant here as we don't use its unsigness.
Schould i make a diff to correct that?
The event type of the fsm is an unsigned int.
Yes ideally.
You cast it anyway.
Now i only convert it to it's underlying type.
Yeah, but it means you hard code the type in each cast. Also it makes the code more noisy.