def METHOD_NAME(self) -> None:
    """Check the function for COCO RLE to Scalabel RLE."""
    json_file = get_test_file("coco_rle.json")
    with open(json_file, "r", encoding="utf-8") as fp:
        mask = json.load(fp)
    rle = coco_rle_to_rle(mask)
    gt_file = get_test_file("scalabel_rle.json")
    with open(gt_file, "r", encoding="utf-8") as fp:
        gt_rle = json.load(fp)
    self.assertEqual(rle.counts, gt_rle["counts"])
    self.assertEqual(rle.size, tuple(gt_rle["size"]))