def test_player_doesnt_rotate_over_90_degrees(): player = Player() player.rotation = (85, 0) player.rotate(10) assert (5, 0) == player.rotation