10 #include <gtest/gtest.h>    12 #include <test_mrpt_common.h>    14 TEST(CSimpleMap, ParseFileInFormat_v1_5)
    16     const std::string fil =
    17         mrpt::UNITTEST_BASEDIR +
    18         std::string(
"/share/mrpt/datasets/localization_demo.simplemap.gz");
 EXPECT_TRUE(mrpt::system::fileExists(ini_fil))
 
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
 
TEST(CSimpleMap, ParseFileInFormat_v1_5)
 
bool loadFromFile(const std::string &filName)
Load the contents of this object from a .simplemap binary file (possibly compressed with gzip) ...
 
size_t size() const
Returns the count of pairs (pose,sensory data) 
 
EXPECT_EQ(out.image_pair_was_used.size(), NUM_IMGS)