Commit Graph

12 Commits

Author SHA1 Message Date
Tyge Løvset
0700b738c2 Added static to added local functions, and moved it to where it is used. 2023-01-17 11:02:53 +01:00
Tyge Løvset
6f2f65adf1 1. Improved default accuracy handling for real numbers: relative accuracy error. (tol < 0). _TOL still uses absolute error spec.
2. Added ASSERT_NOT_STR(), ASSERT_STRSTR() and ASSERT_NOT_STRSTR() + wide string versions - search for containing string.
3. Added ASSERT_LT(), ASSERT_LE(), ASSERT_GT(), ASSERT_GE() - new integer comparisons functions with useful error reporting.
4. Added ASSERT_FLT_NEAR(), ASSERT_FLT_FAR() - uses float relative accuracy error.
5. Added ASSERT_DBL_LT(), ASSERT_DBL_GT() -  - new double comparisons functions with useful error reporting.

Added some tests. This is a compact and minimum code change to add this functionality.
2023-01-17 11:02:43 +01:00
Bas van den Berg
6b37e2d794 legal: update copyright notice 2023-01-02 08:24:41 +01:00
Bas van den Berg
a66d37d10b describe features in Readme, remove from Makefile 2016-01-07 22:36:21 +01:00
Bas van den Berg
bafa19e686 changed COLOR_OK -> CTEST_COLOR_OK to make it same as other features 2016-01-06 20:38:12 +01:00
Bas van den Berg
097d3ede68 CTEST_USE_COLORS -> CTEST_NO_COLORS (default on, users can disable) 2015-11-23 20:11:02 +01:00
Christian Wressnegger
dfb8d97ab4 CTEST_USECOLORS -> CTEST_USE_COLORS 2015-11-23 20:05:46 +01:00
Christian Wressnegger
e5e75b649e maintain a defintion (CTEST_USECOLORS) for the use of colors 2015-11-23 20:05:46 +01:00
Bas van den Berg
0f7e32599f print note to say some tests are supposed to fail in example 2015-07-17 08:55:35 +02:00
Bas van den Berg
8c98c7d86a Segfault: dont use constructor feature, but just register in main 2014-09-04 15:41:03 +02:00
Bas van den Berg
aed409dd0e using external main 2012-03-13 11:27:52 +01:00
Bas van den Berg
360d9c3f1a initial commit 2012-01-25 07:41:50 +01:00