otbOBIAExamplesTests.cxx 1.39 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 28
/*=========================================================================

  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);
29
  REGISTER_TEST(OBIAShapeAttributeComputationTest);
Manuel Grizonnet's avatar
Manuel Grizonnet committed
30
  REGISTER_TEST(OBIARadiometricAttributesTest);
Manuel Grizonnet's avatar
Manuel Grizonnet committed
31
  REGISTER_TEST(LabelMapToVectorDataTest);
32 33 34 35 36 37
}

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

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

#undef main
#define main OBIARadiometricAttributesTest
#include "otbRadiometricAttributesLabelMapFilterExample.cxx"
Manuel Grizonnet's avatar
Manuel Grizonnet committed
45 46 47 48

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