Skip to content
Snippets Groups Projects
Commit 0dc639af authored by Jesse Mapel's avatar Jesse Mapel Committed by jlaura
Browse files

Added model state test for framer (#152)

parent 1179600b
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,14 @@ TEST_P(FramerParameterizedTest, JacobianTest) { ...@@ -37,6 +37,14 @@ TEST_P(FramerParameterizedTest, JacobianTest) {
// NOTE: The imagePt format is (Lines,Samples) // NOTE: The imagePt format is (Lines,Samples)
TEST_F(FrameSensorModel, State) {
std::string modelState = sensorModel->getModelState();
EXPECT_NO_THROW(
sensorModel->replaceModelState(modelState)
);
EXPECT_EQ(sensorModel->getModelState(), modelState);
}
// centered and slightly off-center: // centered and slightly off-center:
TEST_F(FrameSensorModel, Center) { TEST_F(FrameSensorModel, Center) {
csm::ImageCoord imagePt(7.5, 7.5); csm::ImageCoord imagePt(7.5, 7.5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment