MCPcopy Create free account
hub / github.com/KumarRobotics/sloam / TEST_F

Function TEST_F

sloam/src/tests/plane_test.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55};
56
57TEST_F(PlaneTest, Initalizes)
58{
59 PointT pta, ptb, ptc;
60 pta.x = 0; pta.y = 0; pta.z = 0;
61 ptb.x = 0; ptb.y = 1; ptb.z = 0;
62 ptc.x = 1; ptc.y = 0; ptc.z = 0;
63 VectorType gfeatures{pta, ptb, ptc};
64 Plane plane(gfeatures, params);
65 EXPECT_TRUE(plane.isValid);
66}
67
68TEST_F(PlaneTest, DistanceToFeature)
69{

Callers

nothing calls this directly

Calls 2

distanceMethod · 0.45
projectMethod · 0.45

Tested by

no test coverage detected