transition state code example
Example: state transition
Using state transition testing,
we pick test cases from an application
where we need to test different system
transitions. We can apply this when an
application gives a different output for
the same input, depending on what has
happened in the earlier state.