Commit d156aafc authored by Kristin Berry's avatar Kristin Berry
Browse files

commit to force run of tests on mac with debug output

parent ba7b4fcc
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -2,18 +2,10 @@
#include "UsgsAstroFrameSensorModel.h"

#include <json.hpp>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <fstream>
#include <map>
#include <vector>
#include <gtest/gtest.h>


#include "Fixtures.h"

using namespace std;
using json = nlohmann::json;

INSTANTIATE_TEST_CASE_P(JacobianTest,FramerParameterizedTest,
@@ -33,7 +25,7 @@ TEST_P(FramerParameterizedTest, JacobianTest) {
   ASSERT_NE(sensorModel, nullptr);

   csm::ImageCoord imagePt1 = GetParam();
   cout << "[" << imagePt1.samp << "," << imagePt1.line << "]"<< endl;
//   cout << "[" << imagePt1.samp << "," << imagePt1.line << "]"<< endl;
   sensorModel->distortionJacobian(imagePt1.samp, imagePt1.line, Jxx, Jxy,Jyx,Jyy);

   double determinant = fabs(Jxx*Jyy - Jxy*Jyx);
@@ -248,6 +240,10 @@ TEST_F(FrameIsdTest, FL500_OffBody4) {
  sensorModel->setParameterValue(1, 0.0); // Y 
  sensorModel->setParameterValue(2, 0.0); // Z

  modelState = sensorModel->getModelState(); 
  EXPECT_STREQ("", modelState.c_str()); 


  ASSERT_NE(sensorModel, nullptr);
  csm::ImageCoord imagePt(15.0, 15.0);
  csm::EcefCoord groundPt = sensorModel->imageToGround(imagePt, 0.0);