[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 36266d1 13/14: Don't echo unneeded values in
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 36266d1 13/14: Don't echo unneeded values in unit test |
Date: |
Thu, 1 Apr 2021 18:15:18 -0400 (EDT) |
branch: master
commit 36266d1210c7a3d737042015579ca305110619a4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Don't echo unneeded values in unit test
---
i7702_test.cpp | 7 -------
1 file changed, 7 deletions(-)
diff --git a/i7702_test.cpp b/i7702_test.cpp
index 0c8c6f6..fa27d10 100644
--- a/i7702_test.cpp
+++ b/i7702_test.cpp
@@ -26,9 +26,6 @@
#include "materially_equal.hpp"
#include "test_tools.hpp"
-#include <cfloat> // DECIMAL_DIG
-#include <iomanip> // setprecision()
-
class i7702_test
{
public:
@@ -108,8 +105,6 @@ void i7702_test::test0()
LMI_TEST(materially_equal(0.0032737, z.ig_usual()[0], 0.0000125));
LMI_TEST(materially_equal(0.00327373978219886374239, z.ig_usual()[0]));
- std::cout<< std::setprecision(DECIMAL_DIG) << z.ig_usual()[0] << std::endl;
-
// Class i7702 is copy- and move-constructible, but not assignable
// because of const data members.
i7702 x = z;
@@ -125,8 +120,6 @@ void i7702_test::test1()
z.initialize();
LMI_TEST(materially_equal(0.00407412378364830143895, z.ig_usual()[0]));
LMI_TEST(materially_equal(0.0032738 , z.ig_usual()[1]));
- std::cout<< std::setprecision(DECIMAL_DIG) << z.ig_usual()[0] << std::endl;
- std::cout<< std::setprecision(DECIMAL_DIG) << z.ig_usual()[1] << std::endl;
// Test idempotence.
z.initialize();
- [lmi-commits] [lmi] master 98a214c 01/14: Rule of three <<< five < zero, (continued)
- [lmi-commits] [lmi] master 98a214c 01/14: Rule of three <<< five < zero, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master c309291 02/14: Factor out precondition assertions, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 218e02a 03/14: Reflect short-term guarantees in 7702 interest rates, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 2d10858 06/14: Use DB_AnnIntRateGspDelta instead of hard-coding two percent, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 8a9085a 08/14: Reflect DB_GenAcctIntBonus in 7702 interest, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 836c6f9 09/14: Refactor unit test, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 637f0de 12/14: Reorder unit-test functions, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master c291b59 05/14: Assert more preconditions, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master cb16682 10/14: Make i7702 vector assignments idempotent, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 8723736 11/14: Make bland1() truly bland, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 36266d1 13/14: Don't echo unneeded values in unit test,
Greg Chicares <=
- [lmi-commits] [lmi] master 29b2ad4 14/14: Measure i7702 speed, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master ad538f7 07/14: Fix defect introduced 20210314T2207Z: wrong VLR, Greg Chicares, 2021/04/01
- [lmi-commits] [lmi] master 26db3ec 04/14: Move an assertion upstream, and generalize it, Greg Chicares, 2021/04/01