|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Fixedstack. More...
Go to the source code of this file.
Classes | |
| struct | SimpleStack |
| Fixture with a stack of integers. More... | |
| struct | ComplexStack |
| Fixture with a stack of complex objects (DynList<int>) More... | |
Functions | |
| TEST (FixedStack, empty_stack) | |
| TEST_F (SimpleStack, push_pop) | |
| TEST_F (ComplexStack, push_pop) | |
| TEST (FixedStack, Iterator_on_empty_stack) | |
| TEST_F (SimpleStack, Iterator) | |
| TEST_F (ComplexStack, Iterator) | |
| TEST_F (SimpleStack, copy_operations) | |
| TEST_F (ComplexStack, copy_operations) | |
| TEST_F (SimpleStack, traverse) | |
| TEST_F (ComplexStack, traverse) | |
Variables | |
| constexpr size_t | N = 17 |
Tests for Fixedstack.
Definition in file fixedstack.cc.
| TEST | ( | FixedStack | , |
| empty_stack | |||
| ) |
Definition at line 71 of file fixedstack.cc.
References Aleph::FixedStack< T >::is_empty(), Aleph::maps(), and Aleph::FixedStack< T >::size().
| TEST | ( | FixedStack | , |
| Iterator_on_empty_stack | |||
| ) |
Definition at line 159 of file fixedstack.cc.
References LocateFunctions< Container, Type >::get_it(), and Aleph::maps().
| TEST_F | ( | ComplexStack | , |
| copy_operations | |||
| ) |
Definition at line 244 of file fixedstack.cc.
References Aleph::eq(), Aleph::HTList::is_empty(), Aleph::maps(), Aleph::HTList::size(), and Aleph::DynList< T >::top().
| TEST_F | ( | ComplexStack | , |
| Iterator | |||
| ) |
Definition at line 179 of file fixedstack.cc.
References Aleph::maps().
| TEST_F | ( | ComplexStack | , |
| push_pop | |||
| ) |
Definition at line 108 of file fixedstack.cc.
References Aleph::DynList< T >::get_first(), Aleph::DynList< T >::get_last(), Aleph::HTList::is_empty(), l, Aleph::maps(), LocateFunctions< Container, Type >::nth(), Aleph::DynList< T >::pop(), and Aleph::DynList< T >::top().
| TEST_F | ( | ComplexStack | , |
| traverse | |||
| ) |
Definition at line 305 of file fixedstack.cc.
References Aleph::DynList< T >::get_first(), Aleph::DynList< T >::get_last(), l, Aleph::maps(), and LocateFunctions< Container, Type >::nth().
| TEST_F | ( | SimpleStack | , |
| copy_operations | |||
| ) |
Definition at line 200 of file fixedstack.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), Aleph::HTList::size(), and Aleph::DynList< T >::top().
| TEST_F | ( | SimpleStack | , |
| Iterator | |||
| ) |
Definition at line 168 of file fixedstack.cc.
References Aleph::maps().
| TEST_F | ( | SimpleStack | , |
| push_pop | |||
| ) |
Definition at line 78 of file fixedstack.cc.
References Aleph::maps().
| TEST_F | ( | SimpleStack | , |
| traverse | |||
| ) |
Definition at line 298 of file fixedstack.cc.
References Aleph::maps().
|
constexpr |
Definition at line 47 of file fixedstack.cc.
Referenced by ComplexStack::ComplexStack(), and SimpleStack::SimpleStack().