21 #include "google/protobuf/text_format.h" 22 #include "gtest/gtest.h" 29 const std::string kMessage = R
"( 31 landmark_id: "landmark_1" 42 using SetLandmarkPoseHandlerTest =
43 testing::HandlerTest<SetLandmarkPoseSignature, SetLandmarkPoseHandler>;
45 TEST_F(SetLandmarkPoseHandlerTest, SetLandmarkPose) {
46 constexpr
double kEps = 1e-10;
47 proto::SetLandmarkPoseRequest request;
49 google::protobuf::TextFormat::ParseFromString(kMessage, &request));
52 SetLandmarkPose(
"landmark_1",
55 Eigen::Quaterniond(4, 5, 6, 7)),
57 test_server_->SendWrite(request);
std::unique_ptr< MockPoseGraph > mock_pose_graph_