lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master d4eeaab 2/5: Add commented-out deliberate def


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d4eeaab 2/5: Add commented-out deliberate defects, to test product verifier
Date: Thu, 6 Jun 2019 08:24:16 -0400 (EDT)

branch: master
commit d4eeaab682276a7402677cb323767b0ecc4d9d78
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Add commented-out deliberate defects, to test product verifier
    
    This change is commented out to prevent any system-testing regression.
    It may be enabled temporarily in a local tree to create a failing test
    for the product verifier, to cover the case
        DB_Irc7702QAxisGender  = false
        DB_Irc7702QAxisSmoking = true
    which would not otherwise arise in the set of real-world (proprietary)
    products verified.
---
 dbdict.cpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/dbdict.cpp b/dbdict.cpp
index 1a7c1ac..6268b95 100644
--- a/dbdict.cpp
+++ b/dbdict.cpp
@@ -936,6 +936,18 @@ sample2ipp::sample2ipp()
 sample2xyz::sample2xyz()
 {
     // Exotica.
+#if 0
+    // US 1980 CSO age last, not gender distinct. Unisex = table D.
+    // This deviation from the 'sample' family should necessitate
+    // different 7pp and corridor tables. Enable this deliberate
+    // inconsistency as an optional test of the product verifier.
+    int dims113[e_number_of_axes] = {1, 1, 3, 1, 1, 1, 1}; // smoking
+    double T7702q[3] = {111, 109, 107,}; // Smoker, nonsmoker, unismoke.
+    Add({DB_Irc7702QTable, e_number_of_axes, dims113, T7702q});
+    Add({DB_Irc7702QAxisGender  , false});
+    Add({DB_Irc7702QAxisSmoking , true});
+#endif // 0
+    // Arguably the most complex ledger type.
     Add({DB_LedgerType          , mce_finra});
     // Certain group-quote columns are available only when these two
     // entities are 'true':



reply via email to

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