lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 6f7b0f2 1/3: Correct two canonicalized expect


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6f7b0f2 1/3: Correct two canonicalized expectations
Date: Thu, 16 Feb 2017 06:38:29 -0500 (EST)

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

    Correct two canonicalized expectations
    
    An interval that begins at an age and lasts for a given number of years
    ends at an age, not at a duration.
---
 input_sequence_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/input_sequence_test.cpp b/input_sequence_test.cpp
index d7d62ce..fd94b9d 100644
--- a/input_sequence_test.cpp
+++ b/input_sequence_test.cpp
@@ -359,7 +359,7 @@ int test_main(int, char*[])
     double const d[n] = {0, 12, 0, 27, 0, 1, 7, 7, 7, 7};
     std::string const e("12 [1, @92); 27 address@hidden, @93]; 1 (@94, #1]; 
7");
     census += e + "\t\t! not a partition\t\n";
-    std::string const g("0 [0, 1); 12 [1, @92); 0 address@hidden, @93); 27 
address@hidden, @94); 0 address@hidden, @95); 1 address@hidden, 6); 7 [6, 
maturity");
+    std::string const g("0 [0, 1); 12 [1, @92); 0 address@hidden, @93); 27 
address@hidden, @94); 0 address@hidden, @95); 1 address@hidden, @96); 7 
address@hidden, maturity");
     check(__FILE__, __LINE__, n, d, e, g);
     }
 
@@ -371,7 +371,7 @@ int test_main(int, char*[])
     double const d[n] = {0, 12.25, 0, 27.875, 0, 1.0625, 7.5, 7.5, 7.5, 7.5};
     std::string const e("12.25 [1,@92); 27.875 address@hidden,@93]; 
1.0625(@94,#1]; 7.5");
     census += e + "\t\t! not a partition\t\n";
-    std::string const g("0 [0, 1); 12.25 [1, @92); 0 address@hidden, @93); 
27.875 address@hidden, @94); 0 address@hidden, @95); 1.0625 address@hidden, 6); 
7.5 [6, maturity)");
+    std::string const g("0 [0, 1); 12.25 [1, @92); 0 address@hidden, @93); 
27.875 address@hidden, @94); 0 address@hidden, @95); 1.0625 address@hidden, 
@96); 7.5 address@hidden, maturity)");
     check(__FILE__, __LINE__, n, d, e, g);
     }
 



reply via email to

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