| 55 | }; |
| 56 | |
| 57 | TEST_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 | |
| 68 | TEST_F(PlaneTest, DistanceToFeature) |
| 69 | { |