10 #include <gtest/gtest.h>    13 #include <test_mrpt_common.h>    18         "%s/tests/sample_text_file.txt", mrpt::UNITTEST_BASEDIR.c_str());
    22     const std::string expectedContents = 
"0\n1\n2\n3\nhello\nworld!\n";
    30         "%s/tests/sample_text_file_bis.txt", mrpt::UNITTEST_BASEDIR.c_str());
 std::string std::string format(std::string_view fmt, ARGS &&... args)
 
EXPECT_EQ(out.image_pair_was_used.size(), NUM_IMGS)
 
std::string file_get_contents(const std::string &fileName)
Loads an entire text file and return its contents as a single std::string. 
 
TEST(file_get_contents, readTestFile)