[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a277ed6 11/11: Uniformly test two functions i
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a277ed6 11/11: Uniformly test two functions in parallel |
Date: |
Thu, 15 Jul 2021 14:57:12 -0400 (EDT) |
branch: master
commit a277ed68fabb7fbd1bb6169cb209df79746d30a9
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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/zero_test.cpp b/zero_test.cpp
index 0166a59..bfcdf60 100644
--- a/zero_test.cpp
+++ b/zero_test.cpp
@@ -713,6 +713,8 @@ void test_various_functions()
// the first is, too.
auto f06 = [](double x) {return x * x - 4.0;};
auto root_06 = -2.0;
+ 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] master 0090739 03/11: Rename an enumeration, (continued)
- [lmi-commits] [lmi] master 0090739 03/11: Rename an enumeration, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master fb3d854 02/11: Refactor instrumented reference implementation, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master 0d9b36b 05/11: Make enumerators print a useful value directly, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master 27cdaa7 01/11: Refactor, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master ff2f404 04/11: Use a more informative unit-test macro, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master 0b44a84 07/11: Reenumerate root-finding activities, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master dce3edc 08/11: Show variable shifts in optional trace, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master 5a3bd1d 10/11: Regularize whitespace, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master 70f1126 09/11: Find a root that coincides with an input bound, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master b24bcce 06/11: Improve indentation, Greg Chicares, 2021/07/15
- [lmi-commits] [lmi] master a277ed6 11/11: Uniformly test two functions in parallel,
Greg Chicares <=