def test_vec2_rot (self): a = CrankBase.VecFloat2.init (0.9950, 0.0998) b = CrankShape.rot_vec2_rot (a, 0.5) self.assertFloat (b.x, 0.8253) self.assertFloat (b.y, 0.5646)