Daniel James
e5b0a03e57
Merge in the intel gcc workaround from RC_1_34_0.
...
[SVN r37428]
2007-04-12 20:37:27 +00:00
Daniel James
7438a90198
Remove an unrequired semi-colon.
...
[SVN r37427]
2007-04-12 20:34:59 +00:00
Dave Abrahams
87a3e4f6f0
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
[SVN r37057]
2007-02-24 22:40:59 +00:00
Daniel James
3ebd297644
Rename hash_detail::float_limits => hash_detail::limits, since it's also used
...
for integers in the tests.
[SVN r35559]
2006-10-11 18:58:40 +00:00
Daniel James
c2d8b6c92e
Use boost::hash_detail::float_limits in hash_number_test. This works around
...
OpenBSD's inaccurate numeric_limits<long double>.
[SVN r35558]
2006-10-11 18:50:59 +00:00
Daniel James
a08d42c10f
Attempting to work round the dodgy std::numeric_limits<long double> on
...
some BSDs.
[SVN r35345]
2006-09-26 20:35:58 +00:00
Daniel James
59643536dd
Fixed the use of a deprecated header in a test.
...
[SVN r35313]
2006-09-24 19:57:34 +00:00
Daniel James
572d82713b
Update copyright details.
...
[SVN r34390]
2006-06-25 09:59:05 +00:00
Daniel James
6ee55d99e7
Add a test for hashing complex numbers.
...
[SVN r34208]
2006-06-06 20:52:28 +00:00
Daniel James
cae86235d5
Oops, get the test for long long working.
...
[SVN r34206]
2006-06-06 20:48:01 +00:00
Daniel James
59adb10b3a
Add tests for long long to the numeric hash tests.
...
[SVN r34203]
2006-06-06 20:14:55 +00:00
Daniel James
855ebe6b69
Fix an embarassing typo.
...
[SVN r34192]
2006-06-06 08:20:04 +00:00
Daniel James
da8405cb69
Update the copyright comments in the hash tests and documentation.
...
[SVN r33369]
2006-03-18 15:49:21 +00:00
Daniel James
60d6f2fabd
Use an array instead of std::set in hash_no_ext_fail_test, as that seems like a better test for older compilers.
...
[SVN r33194]
2006-03-01 22:44:27 +00:00
Daniel James
22a2c49db9
Only check that hash functions for the different infinities are equal when the infinities are equal...
...
[SVN r33182]
2006-02-28 23:15:43 +00:00
Dave Abrahams
bbb8d4f19f
Remove uses of assert() from tests
...
[SVN r33011]
2006-02-19 15:03:31 +00:00
Daniel James
bf0ea56eac
Add to the hash tests, tests for the BOOST_HASH_NO_EXTENSIONS macro and a few other updates.
...
[SVN r32901]
2006-02-13 18:26:00 +00:00
Daniel James
3788bb9e75
Make hash_fwd_test_1 a little easier to compile.
...
[SVN r32834]
2006-02-11 21:20:47 +00:00
Daniel James
7ec1fbe694
Add a couple of missing includes for hash_range_test and hash_string_test
...
[SVN r32785]
2006-02-09 19:20:07 +00:00
Daniel James
4bee159a10
Change the hash tests to use the lightweight test header.
...
[SVN r32784]
2006-02-09 19:16:08 +00:00
Daniel James
50011103a4
Update the hash tests for the new headers.
...
[SVN r32779]
2006-02-09 19:01:33 +00:00
Daniel James
003ec473b6
Add the missing test.
...
[SVN r32776]
2006-02-09 18:43:55 +00:00
Vladimir Prus
c6f5970551
Comment out refereces to absent file
...
[SVN r32772]
2006-02-09 14:12:19 +00:00
Daniel James
a7d8c36057
Update the portable example to hopefully be more generally portable.
...
Change hash_fwd_test to avoid a Borland bug, add 'hash_friend_test' to test for it.
Fix a typo in hash_fwd_test.
[SVN r32747]
2006-02-08 19:03:09 +00:00
Daniel James
e09e3f1e06
In hash_fwd_test avoid a Borland bug by putting the test classes in a namespace.
...
Seems to break on gcc 2.95 though...
Also use HASH_NAMESPACE instead of boost to allow tests to be run in 'std'.
[SVN r32686]
2006-02-07 00:48:58 +00:00
Daniel James
691437839e
Add an extra test for a Borland bug I found.
...
[SVN r32685]
2006-02-07 00:45:32 +00:00
Daniel James
946a362d56
In hash tests, stop using <boost/test/auto_unit_test.hpp> as it's deprecated.
...
[SVN r32595]
2006-02-05 19:54:08 +00:00
Daniel James
e78d662c7a
Add tests for the hash forward header.
...
[SVN r32587]
2006-02-05 16:06:31 +00:00
Daniel James
79b5aa7a2e
Fix a parse error in the hash test Jamfile.
...
[SVN r32585]
2006-02-05 15:56:47 +00:00
Daniel James
af88f13aca
Add pair to container_fwd_test.
...
[SVN r32582]
2006-02-05 14:11:59 +00:00
Daniel James
a5d18ba409
Add copyright to container_fwd_test.
...
[SVN r32580]
2006-02-05 14:02:28 +00:00
Daniel James
f9a050b68e
Make the functions static in container_fwd_test.
...
[SVN r32579]
2006-02-05 14:00:23 +00:00
Daniel James
a9144ed80b
Add a missing include to a functional/hash test header.
...
[SVN r32578]
2006-02-05 13:59:03 +00:00
Daniel James
4ed4e4760b
Tidy up functional/hash's Jamfile a little.
...
[SVN r32577]
2006-02-05 13:58:06 +00:00
Daniel James
e225ed8f14
Fix a build error in the hash tests.
...
[SVN r32060]
2005-12-15 18:00:47 +00:00
Daniel James
11170a916b
Quick & dirty update of hash tests for new version of Boost.Test
...
[SVN r32056]
2005-12-15 00:27:53 +00:00
Daniel James
26f4b6cd55
More epsilon hash float tests.
...
[SVN r32055]
2005-12-15 00:22:00 +00:00
Daniel James
6f61ab5b0b
Fix clumsy mistakes in the epsilon hash test.
...
[SVN r31908]
2005-12-04 20:08:10 +00:00
Daniel James
1ec297d8d4
Test for hashing 1+epsilon, following recent boost-dev comments on Darwin
...
gcc-4.0's long double.
[SVN r31907]
2005-12-04 20:02:08 +00:00
Daniel James
906b14102d
Return 0 from test, for the benefit of Visual C++ 6.
...
[SVN r31202]
2005-10-05 20:52:00 +00:00
Daniel James
803b01c8c8
Add test for char_traits in container_fwd.hpp
...
[SVN r31134]
2005-09-27 19:46:04 +00:00
Daniel James
b70f0b3aab
Add tests for container_fwd to hash tests.
...
[SVN r31044]
2005-09-19 20:39:57 +00:00
Daniel James
f5cbe3661c
Merge in Markus' workaround for Tru64/CXX std::numeric_limits::denorm_min() bug
...
from RC_1_33_0.
[SVN r31042]
2005-09-19 18:25:30 +00:00
Daniel James
379105280f
Change the hash-test rule to work with multiple source files.
...
[SVN r30615]
2005-08-21 14:54:52 +00:00
Daniel James
1df9014b94
Add hash examples to the unit tests.
...
[SVN r30612]
2005-08-21 11:40:06 +00:00
Daniel James
1cea89464b
Add tests for linking two object files that include the hash libraries.
...
[SVN r29710]
2005-06-20 21:45:54 +00:00
Daniel James
16b4e4b261
Fix a typo in hash_float_test.
...
[SVN r29120]
2005-05-21 17:15:10 +00:00
Daniel James
bbf337598b
Tweak the hash tests a bit more.
...
[SVN r29119]
2005-05-21 17:10:39 +00:00
Daniel James
386d46aff0
Write a better error message when the denormalised minimum float hash test
...
fails.
[SVN r29118]
2005-05-21 16:46:53 +00:00
Daniel James
8b483e7d86
Try to make sure that the different functions in hash_function_pointer_test
...
really are different.
[SVN r28833]
2005-05-11 21:32:17 +00:00