otbOBIAExamplesTests.cxx 1.41 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/*=========================================================================

  Program:   ORFEO Toolbox
  Language:  C++
  Date:      $Date$
  Version:   $Revision$


    Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
    See OTBCopyright.txt for details.

    This software is distributed WITHOUT ANY WARRANTY; without even
    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    PURPOSE.  See the above copyright notices for more information.

=========================================================================*/
// this file defines the otbMultiScaleTest for the test driver
// and all it expects is that you have a function called RegisterTests
#if defined(_MSC_VER)
#pragma warning ( disable : 4786 )
#endif
#include <iostream>
#include "otbTestMain.h"

void RegisterTests()
{
  REGISTER_TEST(OBIAImageToLabelToImageTest);
28
  REGISTER_TEST(OBIAShapeAttributeComputationTest);
Otmane Lahlou's avatar
Otmane Lahlou committed
29
  REGISTER_TEST(RadiometricAttributesLabelMapFilterExample);
Manuel Grizonnet's avatar
Manuel Grizonnet committed
30
  REGISTER_TEST(LabelMapToVectorDataTest);
31 32 33 34 35 36
}

#undef main
#define main OBIAImageToLabelToImageTest
#include "ImageToLabelToImage.cxx"

37 38 39
#undef main
#define main OBIAShapeAttributeComputationTest
#include "ShapeAttributeComputation.cxx"
Manuel Grizonnet's avatar
Manuel Grizonnet committed
40 41

#undef main
Otmane Lahlou's avatar
Otmane Lahlou committed
42
#define main RadiometricAttributesLabelMapFilterExample
Manuel Grizonnet's avatar
Manuel Grizonnet committed
43
#include "RadiometricAttributesLabelMapFilterExample.cxx"
Manuel Grizonnet's avatar
Manuel Grizonnet committed
44 45 46 47

#undef main
#define main LabelMapToVectorDataTest
#include "LabelMapToVectorData.cxx"