Source

pygame / test / mask_test.py

Author Commit Message Labels Comments Date
Lenard Lindstrom
adapt mask module for Python 3.1
Lenard Lindstrom
test suite now pygame.tests subpackage as well
Nirav Patel
Mask convolve function and tests from Michael George
illume
Changed pygame.transform.threshold to behave like pygame 1.8 again.
Nirav Patel
adding coordinate test to connected_component
Nirav Patel
connected_components function to get a list of CCs
Nirav Patel
unittests for mask and transform and a mask bug fix
akalias
Made all unimplemented tests use todo_test_xxxx naming and updated the __doc__'s. Run's only implemented tests by default.
akalias
made trunk/test a package, added in python2.5 version of unittest as test.unittest.
illume
Added more tests for mask.get_bounding_rects()
akalias
removed command line options for individual test_modules, use run_tests.py module --flags to run individual module with options ( fail incomplete etc ). Less conflict with unittest command line parser.
akalias
Added a redirect stderr/stdout mode to test runner. Only output unittest results and not test noise
akalias
Removed a few duplicate tests and added them to the gen_stubs.py blacklist. Compiled a list of Types that need instantiating before inspection.
akalias
Added in many test stubs, hopefully some test faeries will fill some of them out.
illume
[BUG] Fixed up pygame.mask.from_surface, got color key, and perpixel alpha
illume
Mask can now get bounding rects of set bits.
illume
Adding a pygame.mask.from_surface function but it's not working.
illume
mask.set_at get_at raise nice exceptions. Thanks piman!
illume
Started on a unittest for Mask.