Daniel James
2196f0ea17
Avoid some warnings when compiling the test with Visual C++.
...
[SVN r40004]
2007-10-14 07:38:49 +00:00
Daniel James
76fc46ae69
Add a trivial test to see if the deprecated hash headers compile okay when included.
...
[SVN r39994]
2007-10-13 22:43:13 +00:00
Daniel James
6ee186bb94
Clean up the hash tests a little.
...
[SVN r39993]
2007-10-13 22:30:50 +00:00
Daniel James
2de9bfe88c
Add support for complex numbers to Boost.Hash
...
[SVN r39983]
2007-10-13 18:34:25 +00:00
Daniel James
eff60d4911
Separate the long double hash tests from the test for other float types. On
...
some platforms the standard library has poor support for long doubles causing
long doubles to fail when the others pass. So this makes it clearer that the
problem is only for long doubles.
[SVN r39979]
2007-10-13 17:47:57 +00:00
Daniel James
02d0136be9
Remove the pointles separation of the float tests into three functions
...
(probably a throwback to when I used Boost.Test)
[SVN r39977]
2007-10-13 17:35:48 +00:00
Daniel James
782dc36a8a
Output some info about a test failure when hashing function pointers.
...
[SVN r39833]
2007-10-09 07:19:30 +00:00
Daniel James
22a7fdfdc4
Include the size of function pointers, void* and std::size_t in the output of the function pointer hash test, to give me a clue why it's failling on a platform.
...
[SVN r39766]
2007-10-07 18:08:35 +00:00
Daniel James
ce7a9c057b
Fix an if statement.
...
[SVN r39692]
2007-10-05 09:43:01 +00:00
Daniel James
fe5fa48972
Add proper support for long longs and unsigned long longs.
...
[SVN r39014]
2007-08-27 18:16:54 +00:00
Daniel James
59bc46847c
Comment out -Wextra because it doesn't work on older versions of gcc.
...
[SVN r39009]
2007-08-27 17:59:54 +00:00
Daniel James
6534cfbf37
Remove hash_complex_test - it should have been removed when I reverted to 1.34.1
...
[SVN r38884]
2007-08-24 02:33:43 +00:00
Daniel James
93b80b365f
Add extra overloads for hash_value to cover all the specializations of boost::hash. Fixes 1095
...
[SVN r38881]
2007-08-24 01:44:15 +00:00
Daniel James
5f90cf05d3
Update the copyright in the hash library.
...
[SVN r38876]
2007-08-24 01:05:36 +00:00
Daniel James
ff43cf2784
Copy hash library from 1.34.1 over trunk.
...
For the first merge with the release branch, I only want to include some of the
changes I've been working on (fixes and some trivial changes), so I'm starting
again from 1.34.1.
[SVN r38873]
2007-08-24 00:42:19 +00:00
Daniel James
08d38c1e39
Avoid a comparison with zero warning on gcc when compiling with -Wextra.
...
[SVN r38679]
2007-08-15 14:35:39 +00:00
Daniel James
eb49a19b98
Test the hash library with warning level 4 on Visual C++ - although there's
...
still one warning for hashing long doubles.
[SVN r38647]
2007-08-14 09:53:55 +00:00
nobody
bb774728a0
Add -Wsign-promo to the hash test compile flags since I'm now trying to avoid the warning. I still need to check that it won't break older versions of gcc.
...
[SVN r38565]
2007-08-10 11:22:54 +00:00
Daniel James
d8807048a6
Drop the v1 Jamfiles.
...
[SVN r38512]
2007-08-08 18:26:51 +00:00
Daniel James
5533eb6acf
Update the copyright in more hash files.
...
[SVN r37802]
2007-05-27 09:09:28 +00:00
Daniel James
b5c1943ce9
Merge in the intel gcc workaround from RC_1_34_0.
...
[SVN r37428]
2007-04-12 20:37:27 +00:00
Daniel James
39f3b56b99
Remove an unrequired semi-colon.
...
[SVN r37427]
2007-04-12 20:34:59 +00:00
Dave Abrahams
d14013264c
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
585813f9fe
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
c7778306f8
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
26473491c4
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
087c6c30b1
Fixed the use of a deprecated header in a test.
...
[SVN r35313]
2006-09-24 19:57:34 +00:00
Daniel James
645cac6ae3
Update copyright details.
...
[SVN r34390]
2006-06-25 09:59:05 +00:00
Daniel James
f0a4785711
Add a test for hashing complex numbers.
...
[SVN r34208]
2006-06-06 20:52:28 +00:00
Daniel James
3efe8b9b1c
Oops, get the test for long long working.
...
[SVN r34206]
2006-06-06 20:48:01 +00:00
Daniel James
5c525b6e4f
Add tests for long long to the numeric hash tests.
...
[SVN r34203]
2006-06-06 20:14:55 +00:00
Daniel James
1d61057ee9
Fix an embarassing typo.
...
[SVN r34192]
2006-06-06 08:20:04 +00:00
Daniel James
bb782b5239
Update the copyright comments in the hash tests and documentation.
...
[SVN r33369]
2006-03-18 15:49:21 +00:00
Daniel James
9065912ab3
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
7a741bf44a
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
cc22df0753
Remove uses of assert() from tests
...
[SVN r33011]
2006-02-19 15:03:31 +00:00
Daniel James
de07bf2d69
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
f2d6086180
Make hash_fwd_test_1 a little easier to compile.
...
[SVN r32834]
2006-02-11 21:20:47 +00:00
Daniel James
1ce3be5602
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
ef0b8e3188
Change the hash tests to use the lightweight test header.
...
[SVN r32784]
2006-02-09 19:16:08 +00:00
Daniel James
9734825574
Update the hash tests for the new headers.
...
[SVN r32779]
2006-02-09 19:01:33 +00:00
Daniel James
8f2c004a17
Add the missing test.
...
[SVN r32776]
2006-02-09 18:43:55 +00:00
Vladimir Prus
972f720922
Comment out refereces to absent file
...
[SVN r32772]
2006-02-09 14:12:19 +00:00
Daniel James
47df6bd0fe
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
bb702b827e
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
3cb7963112
Add an extra test for a Borland bug I found.
...
[SVN r32685]
2006-02-07 00:45:32 +00:00
Daniel James
0eab9ed7bb
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
c8dc9ac3e4
Add tests for the hash forward header.
...
[SVN r32587]
2006-02-05 16:06:31 +00:00
Daniel James
7815a36643
Fix a parse error in the hash test Jamfile.
...
[SVN r32585]
2006-02-05 15:56:47 +00:00
Daniel James
f467da5438
Add pair to container_fwd_test.
...
[SVN r32582]
2006-02-05 14:11:59 +00:00