|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Dynslist. More...
Go to the source code of this file.
Functions | |
| TEST (DynSlist, InsertAccessRemove) | |
| TEST (DynSlist, InsertMoveOverload) | |
| TEST (DynSlist, ThrowsOnInvalidPositions) | |
| TEST (DynSlist, IteratorTraversesInOrder) | |
| TEST (DynSlist, ConstOperatorBracketWorks) | |
| TEST (DynSlist, CopyConstructorIsDeepCopy) | |
| TEST (DynSlist, CopyAssignmentAndSelfAssignment) | |
| TEST (DynSlist, MoveConstructorLeavesSourceEmpty) | |
| TEST (DynSlist, MoveAssignmentWorks) | |
| TEST (DynSlist, NegativePositionsThrowAndDoNotMove) | |
| TEST (DynSlist, Property_RandomInsertRemove_MatchesVector) | |
Tests for Dynslist.
Definition in file dynslist.cc.
| TEST | ( | DynSlist | , |
| ConstOperatorBracketWorks | |||
| ) |
Definition at line 132 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), and Aleph::maps().
| TEST | ( | DynSlist | , |
| CopyAssignmentAndSelfAssignment | |||
| ) |
Definition at line 164 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| CopyConstructorIsDeepCopy | |||
| ) |
Definition at line 146 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), Aleph::DynSlist< T >::remove(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| InsertAccessRemove | |||
| ) |
Definition at line 80 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), Aleph::DynSlist< T >::remove(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| InsertMoveOverload | |||
| ) |
Definition at line 98 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| IteratorTraversesInOrder | |||
| ) |
Definition at line 118 of file dynslist.cc.
References Aleph::DynSlist< T >::Iterator::get_curr(), Aleph::Slist< T >::Iterator::has_curr(), Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::Slist< T >::Iterator::next().
| TEST | ( | DynSlist | , |
| MoveAssignmentWorks | |||
| ) |
Definition at line 208 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| MoveConstructorLeavesSourceEmpty | |||
| ) |
Definition at line 186 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| NegativePositionsThrowAndDoNotMove | |||
| ) |
Definition at line 226 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::DynSlist< T >::remove().
| TEST | ( | DynSlist | , |
| Property_RandomInsertRemove_MatchesVector | |||
| ) |
Definition at line 239 of file dynslist.cc.
References StlAlephIterator< SetName >::begin(), Aleph::DynList< T >::empty(), Aleph::DynSlist< T >::insert(), Aleph::DynList< T >::insert(), Aleph::maps(), Aleph::DynSlist< T >::remove(), rng, Aleph::HTList::size(), and Aleph::DynSlist< T >::size().
| TEST | ( | DynSlist | , |
| ThrowsOnInvalidPositions | |||
| ) |
Definition at line 109 of file dynslist.cc.
References Aleph::DynSlist< T >::insert(), Aleph::maps(), and Aleph::DynSlist< T >::remove().