The FSMStateX anonymous functions have been pulled out into constructor functions so each state could be tested separately without relying on the previous FSMStates. I also added some empty test functions for paths that FSMStates are expected to fail, to be filled in later (commented out so they don't run).
The FSMStateX anonymous functions have been pulled out into constructor functions so each state could be tested separately without relying on the previous FSMStates. I also added some empty test functions for paths that FSMStates are expected to fail, to be filled in later (commented out so they don't run).