Commit Graph

8 Commits

Author SHA1 Message Date
Daniel James
1357e13c45 Add tests against Peter's spec.
[SVN r28281]
2005-04-16 16:56:27 +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
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
Daniel James
3cf2a5f88a Removes uses of BOOST_CHECK_EQUAL from the hash tests as they don't work on Borland.
Also force a failure on the float tests on borland as they are crashing horribly. Hopefully I should be able to fix this and remove this.

Also use pair's constructor in hash_map_test.hpp instead of make_pair so that the correct type is created.


[SVN r28049]
2005-04-07 20:53:20 +00:00
Daniel James
fcbbe94b41 Fix a bug in the float hash test - checking that infinity & -infinity hash to
the same value. The hash function is actually working better on the compilers
that were failing this test.


[SVN r28028]
2005-04-06 22:27:45 +00:00
Daniel James
5274643417 Stop using 'std::denorm_present' as on many compilers it isn't present itself.
[SVN r27916]
2005-04-01 22:49:19 +00:00
Daniel James
1d60a30e0c Add the boost::hash unit tests.
[SVN r27903]
2005-04-01 16:58:09 +00:00