In such situations evolutionary testing is a natural choice,
since it is good at optimizing for ‘hard to find situations’.
However, the presence of the flag variable leads to a degenerate
landscapes. Fortunately, these examples can all be
transformed using the algorithm from Figure 3. Each example
is briefly described below.