lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 3f6962c 1/6: Prepare for befriendment


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3f6962c 1/6: Prepare for befriendment
Date: Sun, 26 Feb 2017 19:04:53 -0500 (EST)

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

    Prepare for befriendment
---
 input_sequence_test.cpp | 32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)

diff --git a/input_sequence_test.cpp b/input_sequence_test.cpp
index 233396e..58cfa05 100644
--- a/input_sequence_test.cpp
+++ b/input_sequence_test.cpp
@@ -28,7 +28,28 @@
 #include <algorithm>
 #include <iterator>                     // std::ostream_iterator
 
-void check
+class input_sequence_test
+{
+  public:
+    static void test();
+
+  private:
+    static void check
+        (char const*                     file
+        ,int                             line
+        ,int                             n
+        ,double const*                   d
+        ,std::string const&              e
+        ,std::string const&              g
+        ,char const*                     m
+        ,std::vector<std::string> const& k
+        ,std::vector<std::string> const& c
+        ,bool                            o
+        ,std::string const&              w
+        );
+};
+
+void input_sequence_test::check
     (char const*                     file
     ,int                             line
     ,int                             n
@@ -113,7 +134,7 @@ void check
         }
 }
 
-int test_main(int, char*[])
+void input_sequence_test::test()
 {
     std::string census = 
"\nCorporationPayment\tCorporationPaymentMode\tComments\n";
 
@@ -732,7 +753,12 @@ int test_main(int, char*[])
         << std::endl
         ;
 #endif // defined SHOW_CENSUS_PASTE_TEST_CASES
+}
+
+int test_main(int, char*[])
+{
+    input_sequence_test::test();
 
-    return 0;
+    return EXIT_SUCCESS;
 }
 



reply via email to

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