waveform-computing / rastools

Tools for working with synchrotron scans
http://www.waveform.org.uk/rastools/
2 stars 1 forks source link

Add test cases #25

Open waveform80 opened 11 years ago

waveform80 commented 11 years ago

Really ought to have some unit-tests for all this stuff. Need to construct a data file (probably easiest in DAT format) containing absolutely predictable data; e.g. one file entirely filled with zeros, another with a 10x10 grid in sequence from 0-99. Such data should be easy to use for testing round-trip conversions and accuracy of percentile calculations.

waveform80 commented 11 years ago

Imported from trac issue 25. Created by dave on 2012-09-08T22:44:54, last modified: 2012-09-11T21:47:37

waveform80 commented 11 years ago

Trac comment by dave on 2012-09-09 22:13:34:

Some initial work in r178

waveform80 commented 11 years ago

Trac comment by dave on 2012-09-11 21:47:37:

More work in r179 ... including lots of fixes ...

waveform80 commented 11 years ago

Switching to py.test