MRPT
1.9.9
|
#include <CTraitsTest.h>
#include <gtest/gtest.h>
#include <mrpt/containers/vector_with_small_size_optimization.h>
#include <mrpt/core/common.h>
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 |
using data_t = unsigned int |
Definition at line 15 of file vector_with_small_size_optimization_unittest.cpp.
Definition at line 19 of file vector_with_small_size_optimization_unittest.cpp.
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().
TEST | ( | vector_with_small_size_optimization | , |
ResizeSize | |||
) |
Definition at line 31 of file vector_with_small_size_optimization_unittest.cpp.
References mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::empty(), EXPECT_EQ(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::resize(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::size(), and SMALL_LEN.
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.
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.
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.
TEST | ( | vector_with_small_size_optimization | , |
ShrinkCheckContents | |||
) |
Definition at line 119 of file vector_with_small_size_optimization_unittest.cpp.
References mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::empty(), EXPECT_EQ(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::resize(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::size(), and SMALL_LEN.
TEST | ( | vector_with_small_size_optimization | , |
GrowCheckFrontBack | |||
) |
Definition at line 134 of file vector_with_small_size_optimization_unittest.cpp.
References mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::back(), EXPECT_EQ(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::front(), mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >::resize(), and 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: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |