Source

pygame / test / mask_test.py

Author Commit Message Labels Comments Date
Lenard Lindstrom avatarLenard Lindstrom
adapt mask module for Python 3.1
Lenard Lindstrom avatarLenard Lindstrom
test suite now pygame.tests subpackage as well
Nirav Patel avatarNirav Patel
Mask convolve function and tests from Michael George
illume avatarillume
Changed pygame.transform.threshold to behave like pygame 1.8 again.
Nirav Patel avatarNirav Patel
adding coordinate test to connected_component
Nirav Patel avatarNirav Patel
connected_components function to get a list of CCs
Nirav Patel avatarNirav Patel
unittests for mask and transform and a mask bug fix
Default avatar akalias
Made all unimplemented tests use todo_test_xxxx naming and updated the __doc__'s. Run's only implemented tests by default.
Default avatar akalias
made trunk/test a package, added in python2.5 version of unittest as test.unittest.
illume avatarillume
Added more tests for mask.get_bounding_rects()
Default avatar 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.
Default avatar akalias
Added a redirect stderr/stdout mode to test runner. Only output unittest results and not test noise
Default avatar 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.
Default avatar akalias
Added in many test stubs, hopefully some test faeries will fill some of them out.
illume avatarillume
[BUG] Fixed up pygame.mask.from_surface, got color key, and perpixel alpha
illume avatarillume
Mask can now get bounding rects of set bits.
illume avatarillume
Adding a pygame.mask.from_surface function but it's not working.
illume avatarillume
mask.set_at get_at raise nice exceptions. Thanks piman!
illume avatarillume
Started on a unittest for Mask.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.