Skip to content
Snippets Groups Projects
Commit be2726cd authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
Browse files

BUG : Fix tests

parent ec3c4df3
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,8 @@ int otbSarSensorModelAdapterTest(int itkNotUsed(argc), char* argv[])
}
std::vector<std::pair<unsigned long, unsigned long> > lines;
success = sensorModel->Deburst(lines);
std::pair<unsigned long, unsigned long> samples;
success = sensorModel->Deburst(lines, samples);
if(!success)
{
......
......@@ -27,6 +27,7 @@ otb_module(OTBSARCalibration
OTBITK
OTBMetadata
OTBOSSIMAdapters
OTBImageManipulation
TEST_DEPENDS
OTBImageBase
......
......@@ -109,9 +109,10 @@ int main(int argc, char * argv[])
;
std::vector<std::pair<unsigned long, unsigned long> > deburstLines;
std::pair<unsigned long, unsigned long> deburstSamples;
std::cout<<"Trying to deburst data ..."<<std::endl;
bool deburstOk = sensor->deburst(deburstLines);
bool deburstOk = sensor->deburst(deburstLines, deburstSamples);
std::cout<<"Deburst succeed: "<<(deburstOk?"yes":"no")<<std::endl;
if(deburstOk)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment