Skip to content
Snippets Groups Projects
Commit cc9e6a6c authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

TEST: update test following rewrite of GetOverviewsCount()

parent 4263df68
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,11 @@ int otbGDALOverviewsBuilder(int itkNotUsed(argc), char* argv[])
io->ReadImageInformation();
//std::cout << io->GetOverviewsCount() << std::endl;
if (io->GetOverviewsCount() != static_cast<unsigned int>(nbResolution)-1 )
if (io->GetOverviewsCount() != static_cast<unsigned int>(nbResolution) )
{
std::cout << "Got "<<io->GetOverviewsCount()<< " overviews, expected "<< nbResolution << std::endl;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
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