[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;
}
- [lmi-commits] [lmi] master updated (9ed87ac -> 7674fe7), Greg Chicares, 2017/02/26
- [lmi-commits] [lmi] master 3f6962c 1/6: Prepare for befriendment,
Greg Chicares <=
- [lmi-commits] [lmi] master 159b6e7 2/6: Befriend unit-test class, Greg Chicares, 2017/02/26
- [lmi-commits] [lmi] master 918810f 4/6: Expunge mathematical_representation() [395], Greg Chicares, 2017/02/26
- [lmi-commits] [lmi] master c5204be 3/6: Sequester hazardous ctors, Greg Chicares, 2017/02/26
- [lmi-commits] [lmi] master 7674fe7 6/6: Rename input-sequence accessors and the members they access, Greg Chicares, 2017/02/26
- [lmi-commits] [lmi] master 7f9f8eb 5/6: Shorten a lengthy local name, Greg Chicares, 2017/02/26