
Test Generation from Finite-State Models
an empty sequence. Thus, ‰(q, Â) = q. Using the abbreviation for state
transitions, we can express the above action and transition sequence as
follows:
O(q
0
, 1001 ∗ ) = INIT(num, 1) ADD(num, 0)
ADD(num, 0) ADD(num, 1) OUT (num)
‰(q
0
, 1001 ∗ ) = q
2
3.2.2 TABULAR REPRESENTATION
A table is often used as an alternative to the state diagram to represent
the state transition function ‰ and the output function O. The table con-
sists of two subtables that consist of one or more columns each. The left-
most subtable is the output or the action subtable. The rows are labeled
by the states of the FSM. The rightmost subta