pygame / test / color_test.py

Author Commit Message Labels Comments Date
Default avatar akalias
Added an instantiation hook for xxxTypes that need instantiation before inspection to gen_stubs.py. Added in stubs to cdrom_test.py
Default avatar akalias
Added in many test stubs, hopefully some test faeries will fill some of them out.
Default avatar akalias
Testing svn + rename tests
Default avatar akalias
Renamed some tests to make it easier for test stubber to know what tests need stubbing.
Default avatar akalias
Added unsigned 16bit +16 to tests
Default avatar akalias
Removed old dev comments
Default avatar marcus
Fixed range issues for I1I2I3 color space.
Default avatar akalias
fixed typo
Default avatar akalias
Added in a gamma correction test, tests against python implementation, probably replace with statically defined verified values
Default avatar akalias
removed commented out unabstracted tests
Default avatar akalias
Added in sanity tests for i1i2i3 and cmy, abstracted some of the tests into helper functions
Default avatar akalias
Split up color_test.py sanity tests and changed conversion assertion to test for rough equivalency
Default avatar marcus
Do not print stuff on the tests
Default avatar marcus
Fixed some rounding issues for the color conversions. Fixed colorkey assignment issues. The Color stuff still has some problems though.
Default avatar akalias
Added a test for Surface.set_colorkey(Color(r,g,b,a))
Default avatar akalias
Added equation sanity tests to color_test.py
Default avatar marcus
Fixed Color.hsla/hsva issues introduced with the range changes. Removed Color.yuv - it's a crappy format and to much variations are available. Fixed up color tests.
Default avatar akalias
Discovered bug, was a bug in rgba_combinations generator expression, changed to list comp and works, warrants further investigation. Color is failing tests.
Default avatar akalias
color_test.py still buggy :(
Default avatar akalias
there is a bug in the color_test.py, too tired to fix atm
Default avatar akalias
fixed old hslt comments
Default avatar akalias
fixed a typo, removed some dev scaffolding
Default avatar marcus
Fixed hlsa/hsva color tests
Default avatar akalias
fixed typos
Default avatar akalias
updated color_test.py tests for new Color ranges for hsva, hsla and the hsla rename
Default avatar akalias
added in some sanity tests for color_test.py for hlsa, hsva, yuv
Default avatar akalias
hsla -> hlsa, fixed typo on test
Default avatar akalias
Added test_hsla to color_test.py and removed duplicate test "test_set_item" defined twice, one a subset of the other.
Default avatar marcus
Added webstyle and hex color parsing (thanks Rene ;-).
illume avatarillume
added a test for 'webstyle' colors that old color.py supported.
  1. Prev
  2. 1
  3. 2
  4. Next
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.