Re: [GD-General] Unit tests
Brought to you by:
vexxed72
From: Jorrit T. <jor...@gm...> - 2004-10-15 12:24:51
|
On Fri, 15 Oct 2004 13:44:17 +0200, Chris Raine <c....@gm...> wrote: > This of course did not catch the bugs when the content was displayed > incorrectly, or if other functionality was broken (e.g, ai behaving > wrong, renderer displaying strange images), but these bugs cannot be > caught by unit tests either but by a developer who tests his code > extensively by running it and looking at the results. It would be possible to do output tests too if you make a screenshot from the rendering and compare that to a previous rendering. You can use image comparison tools that do 'fuzzy' comparisons so that small deviations are not flagged as errors. Greetings, |