Loading isis/src/lro/objs/MiniRF/unitTest.cpp +37 −38 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ int main(void) { double knownLat = 85.5973879396895398; double knownLon = 264.7361454607174664; Cube c("$chan1/testData/FSR_CDR_LV1_01801_0R.cub", "r"); Cube c("$chandrayaan1/testData/FSR_CDR_LV1_01801_0R.cub", "r"); Camera *cam = Isis::CameraFactory::Create(c); cout << "FileName: " << FileName( c.fileName() ).name() << endl; cout << "CK Frame: " << cam->instrumentRotation()->Frame() << endl << endl; Loading Loading @@ -135,6 +135,7 @@ int main(void) { cout << endl << "Testing a Level-2 cube: " << endl << endl; Cube c3("$lro/testData/LSB_00291_1CD_XIU_89S206_V1_c2m.cub", "r"); Camera *cam3 = CameraFactory::Create(c3); // Just test the center pixel to make sure the Camera still works on Level-2 Loading @@ -151,7 +152,6 @@ int main(void) { else { cout << "SetImage succeeded." << endl; } } catch(Isis::IException &e) { e.print(); Loading @@ -178,4 +178,3 @@ void TestLineSamp(Isis::Camera *cam, double samp, double line) { cout << "DeltaLine = ERROR" << endl << endl; } } Loading
isis/src/lro/objs/MiniRF/unitTest.cpp +37 −38 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ int main(void) { double knownLat = 85.5973879396895398; double knownLon = 264.7361454607174664; Cube c("$chan1/testData/FSR_CDR_LV1_01801_0R.cub", "r"); Cube c("$chandrayaan1/testData/FSR_CDR_LV1_01801_0R.cub", "r"); Camera *cam = Isis::CameraFactory::Create(c); cout << "FileName: " << FileName( c.fileName() ).name() << endl; cout << "CK Frame: " << cam->instrumentRotation()->Frame() << endl << endl; Loading Loading @@ -135,6 +135,7 @@ int main(void) { cout << endl << "Testing a Level-2 cube: " << endl << endl; Cube c3("$lro/testData/LSB_00291_1CD_XIU_89S206_V1_c2m.cub", "r"); Camera *cam3 = CameraFactory::Create(c3); // Just test the center pixel to make sure the Camera still works on Level-2 Loading @@ -151,7 +152,6 @@ int main(void) { else { cout << "SetImage succeeded." << endl; } } catch(Isis::IException &e) { e.print(); Loading @@ -178,4 +178,3 @@ void TestLineSamp(Isis::Camera *cam, double samp, double line) { cout << "DeltaLine = ERROR" << endl << endl; } }