Skip to content
Snippets Groups Projects
tnlEllpackIndexMultimapTest.cpp 1.58 KiB
Newer Older
  • Learn to ignore specific revisions
  • /***************************************************************************
    
                              tnlEllpackIndexMultimapTest.cpp  -  description
    
                                 -------------------
        begin                : Sep 10, 2015
        copyright            : (C) 2015 by Tomas Oberhuber
        email                : tomas.oberhuber@fjfi.cvut.cz
     ***************************************************************************/
    
    /***************************************************************************
     *                                                                         *
     *   This program is free software; you can redistribute it and/or modify  *
     *   it under the terms of the GNU General Public License as published by  *
     *   the Free Software Foundation; either version 2 of the License, or     *
     *   (at your option) any later version.                                   *
     *                                                                         *
     ***************************************************************************/
    
    #include <tnlConfig.h>
    #include <core/tnlHost.h>
    #include <cstdlib>
    
    
    #include <core/multimaps/tnlEllpackIndexMultimap.h>
    #include "tnlIndexMultimapTester.h"
    #include "../../tnlUnitTestStarter.h"
    
    
    int main( int argc, char* argv[] )
    {
    #ifdef HAVE_CPPUNIT
    
       if( ! tnlUnitTestStarter :: run< tnlIndexMultimapTester< tnlEllpackIndexMultimap< int, tnlHost > > >() ||
           ! tnlUnitTestStarter :: run< tnlIndexMultimapTester< tnlEllpackIndexMultimap< long int, tnlHost > > >() 
    
           )
         return EXIT_FAILURE;
       return EXIT_SUCCESS;
    #else
       return EXIT_FAILURE;
    #endif
    }