Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test cases #25

Open
waveform80 opened this issue Jan 19, 2013 · 4 comments
Open

Add test cases #25

waveform80 opened this issue Jan 19, 2013 · 4 comments
Assignees
Milestone

Comments

@waveform80
Copy link
Member

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
Copy link
Member Author

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

@ghost ghost assigned waveform80 Jan 19, 2013
@waveform80
Copy link
Member Author

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

Some initial work in r178

@waveform80
Copy link
Member Author

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

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

waveform80 pushed a commit that referenced this issue Jan 19, 2013
… raswrite using the old names for the parsers). Also added with-context-managers to the multi-writers for the convenience of the test harnesses
waveform80 pushed a commit that referenced this issue Jan 19, 2013
waveform80 pushed a commit that referenced this issue Jan 19, 2013
…aw ...) and split the tests for the utilities out into their own units. Added a utils module to the tests directory to simplify the code and make everything more readable
@waveform80
Copy link
Member Author

Switching to py.test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant