mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-10 07:09:46 +08:00
Removed front & back empty test
This commit is contained in:
parent
952472da5b
commit
ae7ffb8165
@ -227,14 +227,6 @@ namespace
|
|||||||
CHECK_EQUAL(5, data.front());
|
CHECK_EQUAL(5, data.front());
|
||||||
}
|
}
|
||||||
|
|
||||||
//*************************************************************************
|
|
||||||
TEST(test_front_empty)
|
|
||||||
{
|
|
||||||
Data data;
|
|
||||||
|
|
||||||
CHECK_THROW(int i = data.front(), etl::deque_empty);
|
|
||||||
}
|
|
||||||
|
|
||||||
//*************************************************************************
|
//*************************************************************************
|
||||||
TEST(test_front_const)
|
TEST(test_front_const)
|
||||||
{
|
{
|
||||||
@ -300,14 +292,6 @@ namespace
|
|||||||
CHECK_EQUAL(5, ctestDeque.back());
|
CHECK_EQUAL(5, ctestDeque.back());
|
||||||
}
|
}
|
||||||
|
|
||||||
//*************************************************************************
|
|
||||||
TEST(test_back_empty)
|
|
||||||
{
|
|
||||||
Data data;
|
|
||||||
|
|
||||||
CHECK_THROW(int i = data.back(), etl::deque_empty);
|
|
||||||
}
|
|
||||||
|
|
||||||
//*************************************************************************
|
//*************************************************************************
|
||||||
TEST(test_iterator_comparison)
|
TEST(test_iterator_comparison)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user