Approximations
Some software defies any attempt to predict the exact behavior it should exhibit. Scientific and financial software often perform immensely complex calculations with numerous input variables. Computing the expected result is not feasible because the domain is so complex. Even subject matter experts would be hard-pressed to determine if a given result is correct.
Simulations and modeling software can be even more difficult to evaluate. They are often intentionally unpredictable, using nondeterministic algorithms to generate probabilistic results. Some games fall into this category as well: they randomly generate a board or a map, or they randomly spawn nonplayer characters.
The difficulty in determining expected results in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access