Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
liss-h committed Jan 20, 2025
1 parent 83778aa commit 918f078
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/tests_pool_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@ TEST_SUITE("pool allocator") {
auto alloc4 = allocator_traits::select_on_container_copy_construction(alloc);
CHECK_EQ(mv, alloc);
CHECK_EQ(alloc, alloc4);

allocator_type alloc5{alloc.underlying_pool()};
CHECK_EQ(alloc5, alloc);
}
}

0 comments on commit 918f078

Please sign in to comment.