Skip to content

Commit

Permalink
Update test/append_set.cpp, append_map.cpp; hash_append_unordered_ran…
Browse files Browse the repository at this point in the history
…ge is sensitive to get_integral_result<std::uint64_t>( h.result() )
  • Loading branch information
pdimov committed Nov 17, 2024
1 parent 6699f2c commit 75c33fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/append_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ int main()
test< fnv1a_32, little_endian_flavor, std::multimap<int, int> >( 1082144933ul );
test< fnv1a_64, little_endian_flavor, std::multimap<int, int> >( 12051529320333828229ull );

test< fnv1a_32, little_endian_flavor, std::unordered_map<int, int> >( 1094735330ul );
test< fnv1a_32, little_endian_flavor, std::unordered_map<int, int> >( 2445282413ul );
test< fnv1a_64, little_endian_flavor, std::unordered_map<int, int> >( 2617313294186790738ull );

test< fnv1a_32, little_endian_flavor, std::unordered_multimap<int, int> >( 1094735330ul );
test< fnv1a_32, little_endian_flavor, std::unordered_multimap<int, int> >( 2445282413ul );
test< fnv1a_64, little_endian_flavor, std::unordered_multimap<int, int> >( 2617313294186790738ull );

return boost::report_errors();
Expand Down
4 changes: 2 additions & 2 deletions test/append_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ int main()
test< fnv1a_32, little_endian_flavor, std::multiset<int> >( 3576652581ul );
test< fnv1a_64, little_endian_flavor, std::multiset<int> >( 17046016161958689285ull );

test< fnv1a_32, little_endian_flavor, std::unordered_set<int> >( 3782055292ul );
test< fnv1a_32, little_endian_flavor, std::unordered_set<int> >( 776982489ul );
test< fnv1a_64, little_endian_flavor, std::unordered_set<int> >( 3232503781718511241ull );

test< fnv1a_32, little_endian_flavor, std::unordered_multiset<int> >( 3782055292ul );
test< fnv1a_32, little_endian_flavor, std::unordered_multiset<int> >( 776982489ul );
test< fnv1a_64, little_endian_flavor, std::unordered_multiset<int> >( 3232503781718511241ull );

return boost::report_errors();
Expand Down

0 comments on commit 75c33fd

Please sign in to comment.