MRPT  1.9.9
Typedefs | Functions | Variables
vector_with_small_size_optimization_unittest.cpp File Reference
#include <CTraitsTest.h>
#include <gtest/gtest.h>
#include <mrpt/containers/vector_with_small_size_optimization.h>
#include <mrpt/core/common.h>
Include dependency graph for vector_with_small_size_optimization_unittest.cpp:

Go to the source code of this file.

Typedefs

using data_t = unsigned int
 
using vwsso_t = mrpt::containers::vector_with_small_size_optimization< data_t, SMALL_LEN >
 

Functions

 TEST (vector_with_small_size_optimization, Empty)
 
 TEST (vector_with_small_size_optimization, ResizeSize)
 
 TEST (vector_with_small_size_optimization, ResizeWriteRead)
 
 TEST (vector_with_small_size_optimization, ResizeWriteReadIterators)
 
 TEST (vector_with_small_size_optimization, GrowCheckContents)
 
 TEST (vector_with_small_size_optimization, ShrinkCheckContents)
 
 TEST (vector_with_small_size_optimization, GrowCheckFrontBack)
 

Variables

constexpr size_t SMALL_LEN = 16
 

Typedef Documentation

◆ data_t

using data_t = unsigned int

◆ vwsso_t

Function Documentation

◆ TEST() [1/7]

TEST ( vector_with_small_size_optimization  ,
Empty   
)

Definition at line 23 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_TRUE().

Here is the call graph for this function:

◆ TEST() [2/7]

TEST ( vector_with_small_size_optimization  ,
ResizeSize   
)

Definition at line 31 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_EQ(), and SMALL_LEN.

Here is the call graph for this function:

◆ TEST() [3/7]

TEST ( vector_with_small_size_optimization  ,
ResizeWriteRead   
)

Definition at line 52 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_EQ(), and SMALL_LEN.

Here is the call graph for this function:

◆ TEST() [4/7]

TEST ( vector_with_small_size_optimization  ,
ResizeWriteReadIterators   
)

Definition at line 74 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_EQ(), SMALL_LEN, and val.

Here is the call graph for this function:

◆ TEST() [5/7]

TEST ( vector_with_small_size_optimization  ,
GrowCheckContents   
)

Definition at line 107 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_EQ(), and SMALL_LEN.

Here is the call graph for this function:

◆ TEST() [6/7]

TEST ( vector_with_small_size_optimization  ,
ShrinkCheckContents   
)

Definition at line 119 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_EQ(), and SMALL_LEN.

Here is the call graph for this function:

◆ TEST() [7/7]

TEST ( vector_with_small_size_optimization  ,
GrowCheckFrontBack   
)

Definition at line 134 of file vector_with_small_size_optimization_unittest.cpp.

References EXPECT_EQ(), and SMALL_LEN.

Here is the call graph for this function:

Variable Documentation

◆ SMALL_LEN

constexpr size_t SMALL_LEN = 16

Definition at line 16 of file vector_with_small_size_optimization_unittest.cpp.

Referenced by TEST().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 4363012a5 Tue Nov 19 10:55:26 2019 +0100 at mar nov 19 11:00:13 CET 2019