b4178ae888
- Because of possible operator overloading, make SG_CHECK_EQUAL(a, b) fail if, and only if (a) == (b) is false (testing if (a) != (b) for this macro is not correct in general). - For clarity and consistency, change the messages printed when some tests fail: SG_VERIFY(some_test) prints 'failed: some_test' (okay), but SG_CHECK_EQUAL(a, b) used to print 'failed: a != b', which is inconsistent. Instead, print: 'failed: a == b' because this is what we know that failed (again, because of possible operator overloading, pretending we know the the logical value of (a != b) after testing (a == b) is not correct in general. Similarly, the "approximate equality tests" SG_CHECK_EQUAL_EP() and SG_CHECK_EQUAL_EP2() now print something like 'failed: a ~= b' when they fail, instead of 'failed with epsilon: a != b'. |
||
---|---|---|
3rdparty | ||
CMakeModules | ||
package | ||
simgear | ||
.gitignore | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
COPYING | ||
Doxyfile | ||
DoxygenMain.cxx | ||
INSTALL | ||
NEWS | ||
README | ||
README.cmake | ||
README.OpenAL | ||
README.OSG | ||
README.zlib | ||
SimGear.spec.in | ||
SimGearConfig.cmake.in | ||
Thanks | ||
version |
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.