コード例 #1
0
 def assert__matrix_equal(self, *values):
     """Make sure we're getting the right point back"""
     matrix = MatrixTransformation()
     matrix.premultiply(values)
     assert sequences_almost_equal(self.point,
         matrix.transform_point(*self.original_point))