10 #include <mrpt/config.h> 13 #include <gtest/gtest.h> 17 const auto sampleYamlTxt = std::string(R
"xxx( 18 # example YAML config file from a std::string 26 gridmap_00: {max_x: 25.0, min_x: -25.0} 35 "# example config file from std::string\n" 40 const std::string sampleCfgTxt_as_yaml_correct =
67 #endif // MRPT_HAS_YAMLCPP This class implements a config file-like interface over a memory-stored string list.
int read_int(const std::string §ion, const std::string &name, int defaultValue, bool failIfNotFound=false) const
TEST(ICP_SLAM_App, MapFromRawlog_PointMap)
void setContentFromYAML(const std::string &yaml_block)
Changes the contents of the virtual "config file" from a text block containing a YAML configuration t...
void setContent(const std::vector< std::string > &stringList)
Changes the contents of the virtual "config file".
EXPECT_EQ(out.image_pair_was_used.size(), NUM_IMGS)
std::string getContentAsYAML() const
Returns a text block representing the contents of the config file in YAML format. ...
const std::string sampleCfgTxt