lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 34b010b 02/10: Rename a unit test


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 34b010b 02/10: Rename a unit test
Date: Sun, 18 Apr 2021 18:21:02 -0400 (EDT)

branch: master
commit 34b010bb2b3ae423e948946c6bb92bd74407e9db
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Rename a unit test
    
    This TU tests class gpt_cf_triad, which uses UL commutation functions
    to test guideline premium calculations. It is quite sizable and stands
    alone. The name 'gpt_test.cpp' will soon be wanted for a separate unit
    test that will implement the full GPT, with adjustment events, in terms
    of the independently tested class gpt_cf_triad. See:
    
    https://lists.nongnu.org/archive/html/lmi/2014-06/msg00002.html
    | GPT and ยง7702A calculations pose two principal difficulties. One is
    | the complexity of the life-contingencies formulas for calculating
    | premiums. [...] The other major difficulty is interweaving those
    | premiums with policy transactions, adjusting and enforcing statutory
    | limits as needed.
---
 Makefile.am                           | 10 +++++-----
 gpt_test.cpp => gpt_cf_triad_test.cpp |  0
 objects.make                          |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7635f0f..e3513ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -117,7 +117,7 @@ TESTS = \
     financial_test \
     getopt_test \
     global_settings_test \
-    gpt_test \
+    gpt_cf_triad_test \
     handle_exceptions_test \
     i7702_test \
     ieee754_test \
@@ -736,14 +736,14 @@ global_settings_test_LDADD = \
   libtest_common.la \
   $(BOOST_LIBS)
 
-gpt_test_SOURCES = \
+gpt_cf_triad_test_SOURCES = \
   commutation_functions.cpp \
   cso_table.cpp \
+  gpt_cf_triad_test.cpp \
   gpt_commutation_functions.cpp \
-  gpt_test.cpp \
   ihs_irc7702.cpp
-gpt_test_CXXFLAGS = $(AM_CXXFLAGS)
-gpt_test_LDADD = \
+gpt_cf_triad_test_CXXFLAGS = $(AM_CXXFLAGS)
+gpt_cf_triad_test_LDADD = \
   libtest_common.la \
   $(BOOST_LIBS)
 
diff --git a/gpt_test.cpp b/gpt_cf_triad_test.cpp
similarity index 100%
rename from gpt_test.cpp
rename to gpt_cf_triad_test.cpp
diff --git a/objects.make b/objects.make
index 9bc6b81..37601d6 100644
--- a/objects.make
+++ b/objects.make
@@ -429,7 +429,7 @@ unit_test_targets := \
   financial_test \
   getopt_test \
   global_settings_test \
-  gpt_test \
+  gpt_cf_triad_test \
   handle_exceptions_test \
   i7702_test \
   ieee754_test \
@@ -667,15 +667,15 @@ global_settings_test$(EXEEXT): \
   null_stream.o \
   path_utility.o \
 
-gpt_test$(EXEEXT): \
+gpt_cf_triad_test$(EXEEXT): \
   $(boost_filesystem_objects) \
   $(common_test_objects) \
   calendar_date.o \
   commutation_functions.o \
   cso_table.o \
   global_settings.o \
+  gpt_cf_triad_test.o \
   gpt_commutation_functions.o \
-  gpt_test.o \
   ihs_irc7702.o \
   miscellany.o \
   null_stream.o \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]