]> Creatis software - gdcm.git/blobdiff - Testing/TestDicomString.cxx
use GDCM_NAME_SPACE:: instead of gdcm::, even in Examples ...
[gdcm.git] / Testing / TestDicomString.cxx
index 3915bec8dd94f5936fa20609a6e866e25cdef1ae..006d3b450042db153ff533fb5f374bf6186905b4 100644 (file)
@@ -1,6 +1,24 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: TestDicomString.cxx,v $
+  Language:  C++
+  Date:      $Date: 2005/02/02 10:05:26 $
+  Version:   $Revision: 1.5 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html 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.
+                                                                                
+=========================================================================*/
 #include "gdcmUtil.h"
+#include <assert.h>
 
-int TestDicomString(int , char* [])
+int TestDicomString(int, char *[])
 {
   int i;
   const char *s = "\0\0";
@@ -18,7 +36,8 @@ std::string zeros(x, 0);
 char s1[] = "\0";
 char s2[] = "\0\0";
 char s3[] = "\0\0\0";
-char s4[] = "\0abc";*/
+char s4[] = "\0abc";
+*/
 
   return 0;
 }