lmi-commits
[Top][All Lists]
Advanced

[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;
+}



reply via email to

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