code: def test_convert_keypoints_to_albumentations():
      keypoints = [(20, 30, 40, 50), (30, 40, 50, 60, 99)]
      image = np.ones((100, 100, 3))
      converted_keypoints = convert_keypoints_to_albumentations(
          keypoints,
          rows=image.shape[0],
          cols=image.shape[1],
          source_format="xyas",
      )
      converted_keypoint_1 = convert_keypoint_to_albumentations(
          keypoints[0],
          rows=image.shape[0],
          cols=image.shape[1],
          source_format="xyas",
      )
      converted_keypoint_2 = convert_keypoint_to_albumentations(
          keypoints[1],
          rows=image.shape[0],
          cols=image.shape[1],
          source_format="xyas",
      )
      assert converted_keypoints == [
          converted_keypoint_1,
          converted_keypoint_2,
      ]
  
imports: import math
  import numpy
  import pytest
  import albumentations
  import albumentations.augmentations.geometric.functional
  from albumentations.core.keypoints_utils import angle_to_2pi_range, convert_keypoint_from_albumentations, convert_keypoint_to_albumentations, convert_keypoints_from_albumentations, convert_keypoints_to_albumentations
label_desc: Use image node_id 4 for calling a global function with example usage: test_convert_keypoints_to_albumentations() without return types