|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-10-13 13:35:48
Author: danieljames
Date: 2007-10-13 13:35:48 EDT (Sat, 13 Oct 2007)
New Revision: 39977
URL: http://svn.boost.org/trac/boost/changeset/39977
Log:
Remove the pointles separation of the float tests into three functions
(probably a throwback to when I used Boost.Test)
Text files modified:
trunk/libs/functional/hash/test/hash_float_test.cpp | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
Modified: trunk/libs/functional/hash/test/hash_float_test.cpp
==============================================================================
--- trunk/libs/functional/hash/test/hash_float_test.cpp (original)
+++ trunk/libs/functional/hash/test/hash_float_test.cpp 2007-10-13 13:35:48 EDT (Sat, 13 Oct 2007)
@@ -198,30 +198,15 @@
#endif
}
-void hash_float_tests()
+int main()
{
std::cerr<<"Compiler: "<<BOOST_COMPILER<<"\n";
std::cerr<<"Platform: "<<BOOST_PLATFORM<<"\n";
std::cerr<<"Library: "<<BOOST_STDLIB<<"\n\n";
float_tests("float", (float*) 0);
-}
-
-void hash_double_tests()
-{
float_tests("double", (double*) 0);
-}
-
-void hash_long_double_tests()
-{
float_tests("long double", (long double*) 0);
-}
-
-int main()
-{
- hash_float_tests();
- hash_double_tests();
- hash_long_double_tests();
return boost::report_errors();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk