Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
dynslist.cc File Reference

Tests for Dynslist. More...

#include <gtest/gtest.h>
#include <tpl_dynSlist.H>
#include <random>
#include <vector>
Include dependency graph for dynslist.cc:

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)
 

Detailed Description

Tests for Dynslist.

Definition in file dynslist.cc.

Function Documentation

◆ TEST() [1/11]

TEST ( DynSlist  ,
ConstOperatorBracketWorks   
)

◆ TEST() [2/11]

TEST ( DynSlist  ,
CopyAssignmentAndSelfAssignment   
)

◆ TEST() [3/11]

◆ TEST() [4/11]

◆ TEST() [5/11]

TEST ( DynSlist  ,
InsertMoveOverload   
)

◆ TEST() [6/11]

◆ TEST() [7/11]

TEST ( DynSlist  ,
MoveAssignmentWorks   
)

◆ TEST() [8/11]

TEST ( DynSlist  ,
MoveConstructorLeavesSourceEmpty   
)

◆ TEST() [9/11]

TEST ( DynSlist  ,
NegativePositionsThrowAndDoNotMove   
)

◆ TEST() [10/11]

TEST ( DynSlist  ,
Property_RandomInsertRemove_MatchesVector   
)

◆ TEST() [11/11]

TEST ( DynSlist  ,
ThrowsOnInvalidPositions   
)