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
 
class  PODAllocator< T >
 Allocator for plain old data types. More...
 

Typedefs

template<typename T>
using PartitionedPODVector
 
template<typename T>
using PartitionedPODVector
 
template<typename T>
using PartitionedPODVector
 

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)
 

Typedef Documentation

◆ PartitionedPODVector [1/3]

template<typename T>
using cbm::PartitionedPODVector

Definition at line 285 of file PartitionedVector.h.

◆ PartitionedPODVector [2/3]

template<typename T>
using cbm::PartitionedPODVector

Definition at line 285 of file PartitionedVector.h.

◆ PartitionedPODVector [3/3]

template<typename T>
using cbm::PartitionedPODVector

Definition at line 285 of file PartitionedVector.h.

Function Documentation

◆ EXPECT_CONTAINER_EQ()

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

Definition at line 22 of file _GTestPartitionedVector.cxx.

Referenced by PartitionedVectorTest::Ensure().

◆ TEST_F() [1/6]

TEST_F ( PartitionedVectorTest ,
CanCreateWithPartitions  )

Definition at line 88 of file _GTestPartitionedVector.cxx.

◆ TEST_F() [2/6]

TEST_F ( PartitionedVectorTest ,
IsCopyConstructable  )

Definition at line 114 of file _GTestPartitionedVector.cxx.

◆ TEST_F() [3/6]

◆ TEST_F() [4/6]

TEST_F ( PartitionedVectorTest ,
ThrowsOnNumAddressesMismatchesNumPartions  )

Definition at line 94 of file _GTestPartitionedVector.cxx.

◆ TEST_F() [5/6]

◆ TEST_F() [6/6]

TEST_F ( PartitionedVectorTest ,
ThrowsOnSizesMismatchesDataSize  )

Definition at line 99 of file _GTestPartitionedVector.cxx.