Commit Graph
59 Commits
Author SHA1 Message Date
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
Daniel James 0742484087 Add copyright to container_fwd_test.
[SVN r32580]
2006-02-05 14:02:28 +00:00
Daniel James 6d33feebb7 Make the functions static in container_fwd_test.
[SVN r32579]
2006-02-05 14:00:23 +00:00
Daniel James 3bcc03eb7d Add a missing include to a functional/hash test header.
[SVN r32578]
2006-02-05 13:59:03 +00:00
Daniel James a64d2ba248 Tidy up functional/hash's Jamfile a little.
[SVN r32577]
2006-02-05 13:58:06 +00:00
Daniel James d3e29d33d0 Fix a build error in the hash tests.
[SVN r32060]
2005-12-15 18:00:47 +00:00
Daniel James 985edc9e9c Quick & dirty update of hash tests for new version of Boost.Test
[SVN r32056]
2005-12-15 00:27:53 +00:00
Daniel James dd76eb37ed More epsilon hash float tests.
[SVN r32055]
2005-12-15 00:22:00 +00:00
Daniel James efc6c13cd5 Fix clumsy mistakes in the epsilon hash test.
[SVN r31908]
2005-12-04 20:08:10 +00:00
Daniel James f14a00699c 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 96916fefda Return 0 from test, for the benefit of Visual C++ 6.
[SVN r31202]
2005-10-05 20:52:00 +00:00
Daniel James 991164a3bb Add test for char_traits in container_fwd.hpp
[SVN r31134]
2005-09-27 19:46:04 +00:00
Daniel James aa137615ec Add tests for container_fwd to hash tests.
[SVN r31044]
2005-09-19 20:39:57 +00:00
Daniel James 4f268b098f 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 59890d4588 Change the hash-test rule to work with multiple source files.
[SVN r30615]
2005-08-21 14:54:52 +00:00
Daniel James 2c7e98bec0 Add hash examples to the unit tests.
[SVN r30612]
2005-08-21 11:40:06 +00:00
Daniel James 0c3a28a294 Add tests for linking two object files that include the hash libraries.
[SVN r29710]
2005-06-20 21:45:54 +00:00
Daniel James 1b1f076054 Fix a typo in hash_float_test.
[SVN r29120]
2005-05-21 17:15:10 +00:00
Daniel James 9afcdb022b Tweak the hash tests a bit more.
[SVN r29119]
2005-05-21 17:10:39 +00:00
Daniel James c06e85147c 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 bfd5380e3c 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
Daniel James 097560f27b Try to fix the failing denorm_min hash_value test by explicitly casting the
result of denorm_min() (I think it might be returning the wrong type).


[SVN r28553]
2005-05-01 13:43:56 +00:00
Daniel James 90b21239b4 Fix a clumsy mistake in hash_float_test
[SVN r28402]
2005-04-22 06:37:41 +00:00
Daniel James 65ece8bac0 Change hash_custom_test to have a cleaner implementation (along the lines of
Peter Dimov's suggestion) and to only include the hash headers after declaring
the class.


[SVN r28394]
2005-04-21 23:43:51 +00:00
Daniel James b9f6765d15 Change hash_float_test to write out some false failures instead of failing.
[SVN r28393]
2005-04-21 23:41:12 +00:00
Daniel James 8dc87153e9 Split the hash pointer tests into tests for normal pointers and function pointers, as function pointers fail on old versions of Visual C++, and add a note about this to the hash documentaion.
[SVN r28389]
2005-04-21 22:18:38 +00:00
Daniel James 469df369fd Change the NaN hash test to a warning.
[SVN r28318]
2005-04-18 17:16:02 +00:00
Daniel James b4679091a2 Don't bother testing the hash functions with infinity and NaN on borland. Remove a few pointless lines from hash_value_array_test.
[SVN r28287]
2005-04-17 09:12:01 +00:00
Daniel James 1357e13c45 Add tests against Peter's spec.
[SVN r28281]
2005-04-16 16:56:27 +00:00
Daniel James 86d76f397d Add a test for hash_value called with an array. hash_value tests for other
types will be added to their normal tests.


[SVN r28275]
2005-04-16 10:31:20 +00:00
Daniel James e9a52eb259 Remove the forced fail in the hash float tests on Borland, since the bug should now be fixed.
[SVN r28187]
2005-04-12 20:25:15 +00:00
Daniel James ca202ee142 Make the float hash tests a tad bit more informative.
[SVN r28137]
2005-04-11 22:14:26 +00:00
Daniel James 8bebf347fa Remove the empty array hash function test.
[SVN r28088]
2005-04-10 19:21:38 +00:00
Daniel James e5a62d1cf4 Drop the empty array test.
[SVN r28087]
2005-04-10 19:19:59 +00:00
Daniel James 02e120c774 Add the unit tests for hashing built in arrays.
[SVN r28079]
2005-04-10 12:38:58 +00:00
Daniel James bc0f34d32d Use static assert instead of mpl assert in the hash tests, as it's more
portable.


[SVN r28068]
2005-04-09 09:30:27 +00:00
Daniel James f102d684cf Implement the compile time checks for hash functions as a function instead of a templated class. Hopefully it will work on more compilers.
[SVN r28053]
2005-04-07 22:14:02 +00:00
Daniel James 2000b1aed8 Change tests so they can be used to test implementations of TR1 (maybe, eventually).
[SVN r28052]
2005-04-07 21:57:22 +00:00