11 #include <gtest/gtest.h> 19 namespace grid_map_pcl_test {
21 TEST(PointcloudProcessorTest, ExtractClusters) {
23 const auto seed = rand();
26 const unsigned int numTests = 10;
27 for (
unsigned int i = 0; i < numTests; ++i) {
34 EXPECT_EQ(clusters.size(), nBlobs);
37 if (::testing::Test::HasFailure()) {
38 std::cout <<
"\n Test ExtractClusters failed with seed: " << seed << std::endl;
std::vector< Pointcloud::Ptr > extractClusterCloudsFromPointcloud(Pointcloud::ConstPtr inputCloud) const
std::string getConfigFilePath()
static Pointcloud::Ptr createNBlobsAboveEachOther(double *minZ, double *stdDevZ, int *nBlobs)
TEST(GridMapPclLoaderTest, FlatGroundRealDataset)
void loadParameters(const std::string &filename)
void setVerbosityLevel(ros::console::levels::Level level)
std::mt19937 rndGenerator