CbmRoot
Loading...
Searching...
No Matches
_GTestPartitionedSpan.cxx File Reference
#include "PartitionedSpan.h"
#include "PartitionedVector.h"
#include <gtest/gtest.h>
Include dependency graph for _GTestPartitionedSpan.cxx:

Go to the source code of this file.

Classes

class  PartitionedSpanTest
 

Functions

template<typename T >
void EXPECT_CONTAINER_EQ (gsl::span< T > a, std::vector< i32 > b)
 
 TEST_F (PartitionedSpanTest, IsDefaultConstructable)
 
 TEST_F (PartitionedSpanTest, CanCreateWithPartitions)
 
 TEST_F (PartitionedSpanTest, IsConstructableFromPartitionedVector)
 
 TEST_F (PartitionedSpanTest, IsCopyConstructable)
 
 TEST_F (PartitionedSpanTest, IsConstCopyConstructable)
 
 TEST_F (PartitionedSpanTest, ThrowsOnNumAddressesMismatchesNumPartions)
 
 TEST_F (PartitionedSpanTest, ThrowsOnOffsetsMismatchesDataSize)
 
 TEST_F (PartitionedSpanTest, ThrowsOnOutOfBounds)
 

Function Documentation

◆ EXPECT_CONTAINER_EQ()

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

Definition at line 12 of file _GTestPartitionedSpan.cxx.

Referenced by PartitionedSpanTest::Ensure().

◆ TEST_F() [1/8]

TEST_F ( PartitionedSpanTest ,
CanCreateWithPartitions  )

Definition at line 83 of file _GTestPartitionedSpan.cxx.

◆ TEST_F() [2/8]

TEST_F ( PartitionedSpanTest ,
IsConstCopyConstructable  )

Definition at line 105 of file _GTestPartitionedSpan.cxx.

◆ TEST_F() [3/8]

TEST_F ( PartitionedSpanTest ,
IsConstructableFromPartitionedVector  )

Definition at line 89 of file _GTestPartitionedSpan.cxx.

◆ TEST_F() [4/8]

TEST_F ( PartitionedSpanTest ,
IsCopyConstructable  )

Definition at line 97 of file _GTestPartitionedSpan.cxx.

◆ TEST_F() [5/8]

◆ TEST_F() [6/8]

TEST_F ( PartitionedSpanTest ,
ThrowsOnNumAddressesMismatchesNumPartions  )

Definition at line 113 of file _GTestPartitionedSpan.cxx.

◆ TEST_F() [7/8]

TEST_F ( PartitionedSpanTest ,
ThrowsOnOffsetsMismatchesDataSize  )

Definition at line 118 of file _GTestPartitionedSpan.cxx.

◆ TEST_F() [8/8]