11 #include <gtest/gtest.h> 20 TEST(FormatTest, LargeStrings)
23 const size_t test_str_len = 30000;
24 test_str.assign(test_str_len,
'A');
28 const size_t out_str_len =
s.size();
31 EXPECT_EQ(out_str_len, (test_str_len+3) );
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
This base provides a set of functions for maths stuff.
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.