mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Removed 'pop excess' tests.
This commit is contained in:
parent
70dcd71eb6
commit
82c1b9a795
@ -294,10 +294,6 @@ namespace
|
||||
priority_queue.pop();
|
||||
compare_priority_queue.pop();
|
||||
CHECK_EQUAL(compare_priority_queue.size(), priority_queue.size());
|
||||
|
||||
// Go one beyond (which we handle without throwing)
|
||||
priority_queue.pop();
|
||||
CHECK_EQUAL(compare_priority_queue.size(), priority_queue.size());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
@ -635,20 +635,6 @@ namespace
|
||||
CHECK(is_equal);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_pop_back_excess)
|
||||
{
|
||||
Text text;
|
||||
|
||||
text.resize(2);
|
||||
|
||||
text.pop_back();
|
||||
text.pop_back();
|
||||
|
||||
text.pop_back();
|
||||
CHECK(text.empty());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_insert_position_value)
|
||||
{
|
||||
|
||||
@ -635,20 +635,6 @@ namespace
|
||||
CHECK(is_equal);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_pop_back_excess)
|
||||
{
|
||||
Text text;
|
||||
|
||||
text.resize(2);
|
||||
|
||||
text.pop_back();
|
||||
text.pop_back();
|
||||
|
||||
text.pop_back();
|
||||
CHECK(text.empty());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_insert_position_value)
|
||||
{
|
||||
|
||||
@ -635,20 +635,6 @@ namespace
|
||||
CHECK(is_equal);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_pop_back_excess)
|
||||
{
|
||||
Text text;
|
||||
|
||||
text.resize(2);
|
||||
|
||||
text.pop_back();
|
||||
text.pop_back();
|
||||
|
||||
text.pop_back();
|
||||
CHECK(text.empty());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_insert_position_value)
|
||||
{
|
||||
|
||||
@ -635,20 +635,6 @@ namespace
|
||||
CHECK(is_equal);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_pop_back_excess)
|
||||
{
|
||||
Text text;
|
||||
|
||||
text.resize(2);
|
||||
|
||||
text.pop_back();
|
||||
text.pop_back();
|
||||
|
||||
text.pop_back();
|
||||
CHECK(text.empty());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST_FIXTURE(SetupFixture, test_insert_position_value)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user