[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':
- [lmi-commits] [lmi] master updated (ede9f42 -> 649e05f), Greg Chicares, 2019/06/06
- [lmi-commits] [lmi] master 2081761 1/5: Add missing graphics to fardels, Greg Chicares, 2019/06/06
- [lmi-commits] [lmi] master eca1c31 3/5: Diagnose 7702 q table zero as a problem, Greg Chicares, 2019/06/06
- [lmi-commits] [lmi] master d4eeaab 2/5: Add commented-out deliberate defects, to test product verifier,
Greg Chicares <=
- [lmi-commits] [lmi] master b0e9416 4/5: Record a negative experiment, Greg Chicares, 2019/06/06
- [lmi-commits] [lmi] master 649e05f 5/5: Revert "Record a negative experiment", Greg Chicares, 2019/06/06