lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master d393cd47 3/9: Move a block to make an incipie


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d393cd47 3/9: Move a block to make an incipient refactoring simpler
Date: Sat, 21 May 2022 20:13:51 -0400 (EDT)

branch: master
commit d393cd471bda1fef3cfa7d3d06ed7bf0d1a17f72
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Move a block to make an incipient refactoring simpler
---
 math_functions_test.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/math_functions_test.cpp b/math_functions_test.cpp
index d077a517..4509921f 100644
--- a/math_functions_test.cpp
+++ b/math_functions_test.cpp
@@ -459,14 +459,6 @@ int test_main(int, char*[])
 // Appropriately fails to compile due to static assertion:
 //  outward_quotient(1.0, 1.0);
 
-    test_signum<bool         >(__FILE__, __LINE__);
-    test_signum<signed char  >(__FILE__, __LINE__);
-    test_signum<unsigned char>(__FILE__, __LINE__);
-    test_signum<int          >(__FILE__, __LINE__);
-    test_signum<float        >(__FILE__, __LINE__);
-    test_signum<double       >(__FILE__, __LINE__);
-    test_signum<long double  >(__FILE__, __LINE__);
-
     // Actuarial functions.
 
     // Test with 1 == 'n'.
@@ -603,6 +595,14 @@ int test_main(int, char*[])
 
     std::cout << LMI_CONTEXT << '\n' << std::endl;
 
+    test_signum<bool         >(__FILE__, __LINE__);
+    test_signum<signed char  >(__FILE__, __LINE__);
+    test_signum<unsigned char>(__FILE__, __LINE__);
+    test_signum<int          >(__FILE__, __LINE__);
+    test_signum<float        >(__FILE__, __LINE__);
+    test_signum<double       >(__FILE__, __LINE__);
+    test_signum<long double  >(__FILE__, __LINE__);
+
     assay_speed();
 
     test_expm1_log1p();



reply via email to

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