mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 13:07:17 +02:00
Add test to erase the last element
This commit is contained in:
@@ -338,6 +338,10 @@ int vector_test()
|
||||
stdvector.erase(stdvector.begin());
|
||||
if(!test::CheckEqualContainers(boostvector, stdvector)) return 1;
|
||||
|
||||
boostvector.erase(boostvector.end()-1);
|
||||
stdvector.erase(stdvector.end()-1);
|
||||
if(!test::CheckEqualContainers(boostvector, stdvector)) return 1;
|
||||
|
||||
{
|
||||
//Initialize values
|
||||
IntType aux_vect[50];
|
||||
|
Reference in New Issue
Block a user