Commit Graph

3 Commits

Author SHA1 Message Date
Christoph Reiter 82b74d44f7 tests: coverage 2017-08-16 18:31:52 +02:00
Christoph Reiter f85147a22c tests: various flake8 fixes 2017-05-01 16:08:02 +02:00
Christoph Reiter c7f7540ac4 Convert some manual tests to pytest tests and fix endianness issues.
This converts some manual tests using the stdlib array module and
numpy arrays in combination with image surfaces.

While this does not add any means to verify the result it tests the code
paths and the output can be inspected by commenting out the parts
deleting the temporary files.

This also tries to make these tests give the same result on big endian
machines. Special handling is needed since FORMAT_ARGB32 is native endian
as was pointed out in issue #23
2017-04-30 09:52:27 +02:00