]> Creatis software - gdcm.git/blob - Testing/TestTS.cxx
ENH: Add license to tests since they belong to gdcm
[gdcm.git] / Testing / TestTS.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: TestTS.cxx,v $
5   Language:  C++
6   Date:      $Date: 2004/11/16 04:28:20 $
7   Version:   $Revision: 1.3 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18 #include "gdcmTS.h"
19
20 int TestTS(int , char *[])
21 {
22    gdcm::TS ts;
23    // There should be 150 entries
24    ts.Print( std::cout );
25
26    return ts.GetValue( "" ) != gdcm::GDCM_UNFOUND;
27 }