|
|
bef2a4 |
--- tests/check_check_master.c.orig 2018-01-29 20:33:55.033001412 -0700
|
|
|
bef2a4 |
+++ tests/check_check_master.c 2018-01-29 20:34:31.501879454 -0700
|
|
|
bef2a4 |
@@ -214,7 +214,7 @@ static master_test_t master_tests[] = {
|
|
|
bef2a4 |
{ "Simple Tests", "test_ck_assert_ldouble_ge", CK_FAILURE, CK_MSG_TEXT, "Assertion 'x >= y' failed: x == 2.5, y == 3" },
|
|
|
bef2a4 |
{ "Simple Tests", "test_ck_assert_ldouble_ge_with_mod", CK_FAILURE, CK_MSG_TEXT, "Assertion '2%d >= 3%f' failed: 2%d == 0, 3%f == 1" },
|
|
|
bef2a4 |
{ "Simple Tests", "test_ck_assert_ldouble_with_expr", CK_PASS, CK_MSG_TEXT, "Passed" },
|
|
|
bef2a4 |
- { "Simple Tests", "test_ck_assert_ldouble_eq_tol", CK_FAILURE, CK_MSG_TEXT, "Assertion 'fabsl(y - x) < t' failed: x == 0.001, y == 0.002, t == 0.001" },
|
|
|
bef2a4 |
+ { "Simple Tests", "test_ck_assert_ldouble_eq_tol", CK_FAILURE, CK_MSG_TEXT, "Assertion 'fabsl(y - x) < t' failed: x == 0.001, y == 0.002, t == 0.0009" },
|
|
|
bef2a4 |
{ "Simple Tests", "test_ck_assert_ldouble_eq_tol_with_mod", CK_FAILURE, CK_MSG_TEXT, "Assertion 'fabsl(2%f - 3%d) < 2%p' failed: 3%d == 1, 2%f == 0, 2%p == 0" },
|
|
|
bef2a4 |
{ "Simple Tests", "test_ck_assert_ldouble_ne_tol", CK_FAILURE, CK_MSG_TEXT, "Assertion 'fabsl(y - x) >= t' failed: x == 0.001, y == 0.002, t == 0.01" },
|
|
|
bef2a4 |
{ "Simple Tests", "test_ck_assert_ldouble_ne_tol_with_mod", CK_FAILURE, CK_MSG_TEXT, "Assertion 'fabsl(3%f - 3%d) >= 3%p' failed: 3%d == 1, 3%f == 1, 3%p == 1" },
|
|
|
bef2a4 |
--- tests/check_check_sub.c.orig 2017-10-20 06:44:10.000000000 -0600
|
|
|
bef2a4 |
+++ tests/check_check_sub.c 2018-01-29 20:33:55.034001409 -0700
|
|
|
bef2a4 |
@@ -1812,7 +1812,7 @@ START_TEST(test_ck_assert_ldouble_eq_tol
|
|
|
bef2a4 |
y*=10.0l;
|
|
|
bef2a4 |
t*=10.0l;
|
|
|
bef2a4 |
ck_assert_ldouble_eq_tol(x, y, t);
|
|
|
bef2a4 |
- t/=10.0l;
|
|
|
bef2a4 |
+ t=0.0009l;
|
|
|
bef2a4 |
record_failure_line_num(__LINE__);
|
|
|
bef2a4 |
ck_assert_ldouble_eq_tol(x, y, t);
|
|
|
bef2a4 |
}
|