def METHOD_NAME(self):
    bbox_xywh_to_xyxy_expected = torch.LongTensor(
        [
            [[0, 0, 10, 20], [0, 0, 10, 20]],
            [[10, 20, 5, 1], [10, 20, 15, 21]],
            [[10, 20, 1, 1], [10, 20, 11, 21]],
            [[5, 4, 0, 1], [5, 4, 5, 5]],
        ]
    )
    for bbox_xywh, bbox_xyxy_expected in bbox_xywh_to_xyxy_expected:
        self.assertClose(bbox_xywh_to_xyxy(bbox_xywh), bbox_xyxy_expected)
        self.assertClose(bbox_xyxy_to_xywh(bbox_xyxy_expected), bbox_xywh)
    clamp_amnt = 3
    bbox_xywh_to_xyxy_clamped_expected = torch.LongTensor(
        [
            [[0, 0, 10, 20], [0, 0, 10, 20]],
            [[10, 20, 5, 1], [10, 20, 15, 20 + clamp_amnt]],
            [[10, 20, 1, 1], [10, 20, 10 + clamp_amnt, 20 + clamp_amnt]],
            [[5, 4, 0, 1], [5, 4, 5 + clamp_amnt, 4 + clamp_amnt]],
        ]
    )
    for bbox_xywh, bbox_xyxy_expected in bbox_xywh_to_xyxy_clamped_expected:
        self.assertClose(
            bbox_xywh_to_xyxy(bbox_xywh, clamp_size=clamp_amnt),
            bbox_xyxy_expected,
        )