[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ef971ec 1/6: Move test_main function to end w
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ef971ec 1/6: Move test_main function to end where it belongs |
Date: |
Fri, 7 Sep 2018 19:33:54 -0400 (EDT) |
branch: master
commit ef971ecb7926646173bfedb72e4c1a40bcdd501b
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Move test_main function to end where it belongs
---
report_table_test.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/report_table_test.cpp b/report_table_test.cpp
index ac8394a..bb67dc1 100644
--- a/report_table_test.cpp
+++ b/report_table_test.cpp
@@ -399,12 +399,6 @@ void
report_table_test::test_column_widths_for_illustrations()
}
}
-int test_main(int, char*[])
-{
- report_table_test::test();
- return EXIT_SUCCESS;
-}
-
void report_table_test::test_paginator()
{
// Original tests: vary only the number of data rows.
@@ -506,3 +500,9 @@ void report_table_test::test_paginator()
BOOST_TEST_EQUAL(2, paginator(8, 2, 7).page_count());
BOOST_TEST_EQUAL(2, paginator(9, 2, 7).page_count());
}
+
+int test_main(int, char*[])
+{
+ report_table_test::test();
+ return EXIT_SUCCESS;
+}
- [lmi-commits] [lmi] master updated (7376c94 -> f27b89f), Greg Chicares, 2018/09/07
- [lmi-commits] [lmi] master 033d6b6 2/6: Avoid 'auto' where it is not helpful, Greg Chicares, 2018/09/07
- [lmi-commits] [lmi] master 2207a63 3/6: Refactor: move one line, for a reason soon to be revealed, Greg Chicares, 2018/09/07
- [lmi-commits] [lmi] master ef971ec 1/6: Move test_main function to end where it belongs,
Greg Chicares <=
- [lmi-commits] [lmi] master baa8825 5/6: Calculate the exact number of lines on the last page, Greg Chicares, 2018/09/07
- [lmi-commits] [lmi] master a873fa4 4/6: Introduce additional paginator data members, Greg Chicares, 2018/09/07
- [lmi-commits] [lmi] master f27b89f 6/6: Demonstrate pagination with the simplest possible control structure, Greg Chicares, 2018/09/07