MRPT  1.9.9
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   
)

◆ TEST() [2/7]

TEST ( vector_with_small_size_optimization  ,
ResizeSize   
)

Definition at line 31 of file vector_with_small_size_optimization_unittest.cpp.

References SMALL_LEN.

◆ TEST() [3/7]

TEST ( vector_with_small_size_optimization  ,
ResizeWriteRead   
)

Definition at line 52 of file vector_with_small_size_optimization_unittest.cpp.

References SMALL_LEN.

◆ TEST() [4/7]

TEST ( vector_with_small_size_optimization  ,
ResizeWriteReadIterators   
)

Definition at line 74 of file vector_with_small_size_optimization_unittest.cpp.

References SMALL_LEN, and val.

◆ TEST() [5/7]

TEST ( vector_with_small_size_optimization  ,
GrowCheckContents   
)

Definition at line 107 of file vector_with_small_size_optimization_unittest.cpp.

References SMALL_LEN.

◆ TEST() [6/7]

TEST ( vector_with_small_size_optimization  ,
ShrinkCheckContents   
)

Definition at line 119 of file vector_with_small_size_optimization_unittest.cpp.

References SMALL_LEN.

◆ TEST() [7/7]

TEST ( vector_with_small_size_optimization  ,
GrowCheckFrontBack   
)

Definition at line 134 of file vector_with_small_size_optimization_unittest.cpp.

References SMALL_LEN.

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: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019