MCPcopy Create free account
hub / github.com/PRBonn/depth_clustering / TEST

Function TEST

test/test_cloud.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35using namespace depth_clustering;
36
37TEST(CloudTest, InitEmpty) {
38 Cloud cloud;
39 double eps = 0.000001;
40 EXPECT_NEAR(0.0, cloud.pose().x(), eps);
41 EXPECT_NEAR(0.0, cloud.pose().y(), eps);
42 EXPECT_NEAR(0.0, cloud.pose().theta(), eps);
43 EXPECT_EQ(0ul, cloud.size());
44}
45
46TEST(CloudTest, InitPose) {
47 double eps = 0.000001;

Callers

nothing calls this directly

Calls 15

RichPointClass · 0.85
PoseClass · 0.85
SpanParamsClass · 0.85
thetaMethod · 0.80
push_backMethod · 0.80
TransformInPlaceMethod · 0.80
TransformMethod · 0.80
valMethod · 0.80
SetSpanMethod · 0.80
InitProjectionMethod · 0.80
whatMethod · 0.80

Tested by

no test coverage detected