STIR 6.4.0
test_IO.h File Reference

A simple program to test the stir::OutputFileFormat function. More...

Go to the source code of this file.

Classes

class  stir::IOTests< A >
 A simple class to test the OutputFileFormat function. More...
 

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 

Detailed Description

A simple program to test the stir::OutputFileFormat function.

Author
Kris Thielemans
Richard Brown

To run the test, you should use a command line argument with the name of a file. This should contain a test par file. See stir::IOTests class documentation for file contents.

Warning
Overwrites files STIRtmp.* in the current directory
Todo
The current implementation requires that the output file format as also readable by stir::read_from_file. At least we should provide a run-time switch to not run that part of the tests.