11 #include <gtest/gtest.h> 22 EXPECT_TRUE(
v.size() == 0);
25 for (
int i = 0; i < 10; i++)
28 EXPECT_TRUE(
v.size() == i);
31 for (
int i = 0; i < 10; i++)
35 EXPECT_TRUE(
v.size() == i);
38 for (
int i = 10; i >= 0; i--)
42 EXPECT_TRUE(
v.size() == i);
47 for (
int i = 0; i < 10; i++)
49 v.push_back(
double(i));
50 EXPECT_TRUE(
v.size() == (i + 1));
52 for (
int i = 0; i < 10; i++)
54 EXPECT_TRUE(
v[i] == i);
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction...
This base provides a set of functions for maths stuff.
TEST(CVectorDouble, resize)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.