CbmRoot
Loading...
Searching...
No Matches
_GTestPartitionedVector.cxx File Reference
#include "PODVector.h"
#include "PartitionedVector.h"
#include "gtest/gtest.h"
Include dependency graph for _GTestPartitionedVector.cxx:

Go to the source code of this file.

Classes

class  PartitionedVectorTest
 

Functions

template<typename T >
void EXPECT_CONTAINER_EQ (gsl::span< const T > a, std::vector< T > b)
 
 TEST_F (PartitionedVectorTest, IsDefaultConstructable)
 
 TEST_F (PartitionedVectorTest, CanCreateWithPartitions)
 
 TEST_F (PartitionedVectorTest, ThrowsOnNumAddressesMismatchesNumPartions)
 
 TEST_F (PartitionedVectorTest, ThrowsOnSizesMismatchesDataSize)
 
 TEST_F (PartitionedVectorTest, ThrowsOnOutOfBounds)
 
 TEST_F (PartitionedVectorTest, IsCopyConstructable)
 

Function Documentation

◆ EXPECT_CONTAINER_EQ()

template<typename T >
void EXPECT_CONTAINER_EQ ( gsl::span< const T > a,
std::vector< T > b )

Definition at line 12 of file _GTestPartitionedVector.cxx.

Referenced by PartitionedVectorTest::Ensure().

◆ TEST_F() [1/6]

TEST_F ( PartitionedVectorTest ,
CanCreateWithPartitions  )

Definition at line 78 of file _GTestPartitionedVector.cxx.

◆ TEST_F() [2/6]

TEST_F ( PartitionedVectorTest ,
IsCopyConstructable  )

Definition at line 104 of file _GTestPartitionedVector.cxx.

◆ TEST_F() [3/6]

◆ TEST_F() [4/6]

TEST_F ( PartitionedVectorTest ,
ThrowsOnNumAddressesMismatchesNumPartions  )

Definition at line 84 of file _GTestPartitionedVector.cxx.

◆ TEST_F() [5/6]

◆ TEST_F() [6/6]

TEST_F ( PartitionedVectorTest ,
ThrowsOnSizesMismatchesDataSize  )

Definition at line 89 of file _GTestPartitionedVector.cxx.