20,741
edits
m (→Why write unit tests?: https://sourceforge.net/p/flightgear/mailman/message/36951247/) |
|||
Line 107: | Line 107: | ||
The other thing is to setup some test-case scenes where you can quickly measure differences and compare via screenshots. The brain/eye/memory are very bad at this stuff, setup something you can load from the command line via a script to test old/new versions, if possible. <ref>https://sourceforge.net/p/flightgear/mailman/message/36959002/</ref> | The other thing is to setup some test-case scenes where you can quickly measure differences and compare via screenshots. The brain/eye/memory are very bad at this stuff, setup something you can load from the command line via a script to test old/new versions, if possible. <ref>https://sourceforge.net/p/flightgear/mailman/message/36959002/</ref> | ||
For example, a test would would be a .fgfsrc that makes: | For example, a test would would be a .[[fgfsrc]] that makes: | ||
* c172p at some parking in a detailed airport; | * c172p at some parking in a detailed airport; | ||
* camera looking at it in specific direction with specific FOV; | * camera looking at it in specific direction with specific FOV; |