Skip to content

Commit

Permalink
#230: Fix capacity test for UnorderedMap
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Jul 19, 2022
1 parent d6820e6 commit ae88bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_kokkos_serialize_unordered_map.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static void test_kokkos_unordered_map(

ASSERT_FALSE(outMap.failed_insert());
ASSERT_EQ(refMap.size(), outMap.size());
ASSERT_EQ(refMap.capacity(), outMap.capacity());
ASSERT_LE(refMap.capacity(), outMap.capacity());

// check all keys and values
for (typename UnorderedMapType::size_type i = 0; i < refMap.capacity(); i++) {
Expand Down

0 comments on commit ae88bee

Please sign in to comment.