Game Development Reference
In-Depth Information
It may seem like you are done now since the next flow along the baseline goes to the
OUT box and you have derived paths from each other flow along the baseline.
However, upon further inspection, there is still a flow on the diagram that is not
included in any of your paths: flow 12 coming from the HaveAmmo state. It's not con-
nected to a state that's along the baseline so it's easy to lose track of, but don't fall into
that trap. Pick up this flow by taking flows 1 and 11 to HaveAmmo and then use flow 12.
You're now at HaveGunHaveAmmo and you must get back to the baseline to complete this
path. Take flow 8, which is the shortest route and puts you back at NoGunNoAmmo . Finish
the path by following the rest of the baseline. This final path is 1, 11, 12, 8, 2, 4, 13.
As you can see, the baseline technique produces many more paths and results in much
more testing time than a minimum path. Refer to the sidebar in this section for a sum-
mary of this baseline path set.
Summary of Baseline Path Set for Ammo TFD
Baseline:
1, 2, 4, 13
Derived from flow 1:
1, 9, 8, 2, 4, 13
1, 11, 10, 2, 4, 13
Derived from flow 2:
1, 2, 3, 4, 13
1, 2, 7, 2, 4, 13
Derived from flow 4:
1, 2, 4, 5, 4, 13
1, 2, 4, 6, 4, 13
Derived from flow 11:
1, 11, 12, 8, 2, 4, 13
Search WWH ::




Custom Search