MRPT  2.0.4
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 mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::empty(), EXPECT_TRUE(), and mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::size().

Here is the call graph for this function:

◆ TEST() [2/7]

TEST ( vector_with_small_size_optimization  ,
ResizeSize   
)

◆ 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(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::resize(), 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(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::resize(), 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(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::resize(), and SMALL_LEN.

Here is the call graph for this function:

◆ TEST() [6/7]

TEST ( vector_with_small_size_optimization  ,
ShrinkCheckContents   
)

◆ TEST() [7/7]

TEST ( vector_with_small_size_optimization  ,
GrowCheckFrontBack   
)

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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020