10 #include <gtest/gtest.h> 28 mrpt::containers::ts_hash_map<std::string, double> m;
33 EXPECT_FALSE(m.empty());
47 <<
"Fail after ++ operator applied to reference [].";
50 for (
const auto& e : m) num += e.second;
52 <<
"Fail after visiting and summing all entries";
55 const auto& it = m.find(
"pepe");
60 const auto& it = m.find(
"uno");
void simple_test_hash_string()
EXPECT_TRUE(mrpt::system::fileExists(ini_fil))
TEST(ts_hash_map, string_hash_u8)
void reduced_hash(const std::string_view &value, uint8_t &hash)
hash function used by ts_hash_map.
ts_hash_map()=default
< Default constructor */
EXPECT_EQ(out.image_pair_was_used.size(), NUM_IMGS)
EXPECT_NEAR(out.cam_params.rightCameraPose.x, 0.1194, 0.005)