def METHOD_NAME(self) -> None:
    """Check the function for keypoints to Nodes."""
    keypoints = []
    for i in range(14):
        keypoints.extend([i, i + 50, i / 42.0])
    nodes = keypoints_to_nodes(keypoints)
    self.assertEqual(len(nodes), 14)
    for i, node in enumerate(nodes):
        self.assertEqual(len(node.id), 16)
        self.assertEqual(node.category, "coco_kpt")
        self.assertEqual(node.location, (float(i), float(i + 50)))
        self.assertEqual(node.score, i / 42.0)
    nodes = keypoints_to_nodes(keypoints, [str(i) for i in range(14)])
    for i, node in enumerate(nodes):
        self.assertEqual(node.category, str(i))