<filename>3rd-party/gdcm/Testing/Source/MediaStorageAndFileFormat/Python/TestIPPSorter.py
############################################################################
#
#  Program: GDCM (Grassroots DICOM). A DICOM library
#
#  Copyright (c) 2006-2011 <NAME>
#  All rights reserved.
#  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.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 notice for more information.
#
############################################################################

import gdcm
import os,sys

if __name__ == "__main__":
  sucess = 0
  s = gdcm.IPPSorter()
  # black box test:
  if not s.Sort([]):
    sys.exit(1)

  sys.exit(0)

<filename>3rd-party/gdcm/Testing/Source/MediaStorageAndFileFormat/Python/TestIPPSorter.py
############################################################################
#
#  Program: GDCM (Grassroots DICOM). A DICOM library
#
#  Copyright (c) 2006-2011 <NAME>
#  All rights reserved.
#  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.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 notice for more information.
#
############################################################################

import gdcm
import os,sys

if __name__ == "__main__":
  sucess = 0
  s = gdcm.IPPSorter()
  # black box test:
  if not s.Sort([]):
    sys.exit(1)

  sys.exit(0)

############################################################################ # #  Program: GDCM (Grassroots DICOM). A DICOM library # #  Copyright (c) 2006-2011 <NAME> #  All rights reserved. #  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.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 notice for more information. # ############################################################################ # black box test: