From 41a5f9c2c6fd0592a97955244bdca64c25800481 Mon Sep 17 00:00:00 2001 From: malaterre Date: Thu, 20 Oct 2005 15:05:15 +0000 Subject: [PATCH] ENH: Add a very bizarre case --- Testing/TestVR.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Testing/TestVR.cxx b/Testing/TestVR.cxx index 729157a6..c72f5421 100644 --- a/Testing/TestVR.cxx +++ b/Testing/TestVR.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestVR.cxx,v $ Language: C++ - Date: $Date: 2005/10/18 12:58:25 $ - Version: $Revision: 1.8 $ + Date: $Date: 2005/10/20 15:05:15 $ + Version: $Revision: 1.9 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -46,6 +46,11 @@ int TestVR(int , char *[]) std::cerr << "' ' is a valid VR" << std::endl; error++; } + if( vr->IsValidVR( "\000/" ) ) + { + std::cerr << "'\000/' is a valid VR" << std::endl; + error++; + } if( vr->IsValidVR( gdcm::GDCM_VRUNKNOWN ) ) { std::cerr << "' ' is a valid VR" << std::endl; -- 2.48.1