MORX-36: Insertion forever
-
In state 0, the machine moves to state 1 for any glyph in
{A, B, C, D} while inserting B after
the current position. This transition carries the
DontAdvance flag.
-
In state 1, the machine moves to state 2 for any glyph in
{A, B, C, D} while inserting C after
the current position. This transition carries the
DontAdvance flag.
-
In state 2, the machine moves to state 0 for any glyph in
{A, B, C, D} while inserting D after
the current position. This transition carries the
DontAdvance flag.
- Otherwise, the machine performs no action.
The input string for this test case is A.
Your implementation should not hang (run without time limit)
nor crash while rendering this input, even though the font is
trying to trick the rendering engine into an infinite loop.