I am supposed to model a FSM but I am unsure how to model conditions. Let's take the simple ATM example:
If user presses "Confirm" AND PIN is correct, go to State 2.
If user presses "Confirm" AND PIN is not correct, go to State 3.
Or could I simply use input called "wrong pin" and "correct pin"? I would need it to be formal so that I can employ FSM testing procedures, like cover set generation etc. But I do not know if FSM can be modeled this way (maybe with adding states representing additional conditions?)