[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/eraseme_error b862db3 08/10: Uniformly test two
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/eraseme_error b862db3 08/10: Uniformly test two functions in parallel |
Date: |
Wed, 7 Jul 2021 06:22:14 -0400 (EDT) |
branch: odd/eraseme_error
commit b862db366482663b9f7194444db883b194307cb4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Uniformly test two functions in parallel
It is becoming tiresome to invoke both of
test_a_decimal_function()
test_a_function()
but not yet tiresome enough to spend time refactoring.
---
zero_test.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/zero_test.cpp b/zero_test.cpp
index 938a31c..bb0657d 100644
--- a/zero_test.cpp
+++ b/zero_test.cpp
@@ -675,7 +675,9 @@ void test_various_functions()
// the first is, too.
auto f06 = [](double x) {return x * x - 4.0;};
auto root_06 = -2.0;
- test_a_function (f06, root_06 , 1.9, -2.1, 1.0e-15, __LINE__);
+ test_a_decimal_function(f06, root_06, 1.9, -2.1, 15 , __LINE__);
+ test_a_decimal_function(f06, root_06, -2.1 , 1.9, 15 , __LINE__);
+ test_a_function (f06, root_06, 1.9, -2.1, 1.0e-15, __LINE__);
test_a_function (f06, root_06, -2.1 , 1.9, 1.0e-15, __LINE__);
}
- [lmi-commits] [lmi] branch odd/eraseme_error created (now 69d06e9), Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error dd8fb62 01/10: Postpone consideration of NaN-valued objective functions, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 1dbe0b4 02/10: Refactor, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error a3f38b5 03/10: Refactor instrumented reference implementation, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 4d0358c 04/10: Rename an enumeration, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 2870f56 05/10: Reenumerate root-finding techniques, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error b19754f 06/10: Show shifts in optional trace, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error dfd50b1 07/10: Find a root that coincides with an input bound, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error dec4d54 09/10: Rename operations, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error 69d06e9 10/10: Attempt to find a problem, Greg Chicares, 2021/07/07
- [lmi-commits] [lmi] odd/eraseme_error b862db3 08/10: Uniformly test two functions in parallel,
Greg Chicares <=