[Indic-computing-cvs-logs] cvs commit: src/py-freetype pyft2test.py
Status: Alpha
Brought to you by:
jkoshy
From: Joseph K. <jk...@us...> - 2003-05-15 13:00:26
|
jkoshy 2003/05/15 06:00:25 PDT Modified files: py-freetype pyft2test.py Log: - Add test for type variables to each test class - [All FT_IntegralType derived types] + Test object creation from strings, floating point values, illegal values and illegal operand types. + tests for the new 'set()' entry point + The '.value' attribute is gone, so we use 'float()' to retrieve the objects value. + test that getattr() on an unknown attribute raises 'AttributeError' - FT_Fixed objects: separate the rounding test into one for rounding up and one for rounding down. - FT_Vector objects: add test for object type. Correct typo in test case description ('x' -> 'y'). - Make tests for object classes and types use 'is' instead of '=='. - A few typo fixes: duplicated test method names corrected. Revision Changes Path 1.10 +174 -72 src/py-freetype/pyft2test.py |