def METHOD_NAME(self):
    H, W = 30, 30
    input = np.random.rand(H, W).astype("float32") * 100
    box = [10, 10, 20, 20]
    output = self._simple_roialign(input, box, (5, 5), aligned=True)
    input2x = cv2.resize(input, (W // 2, H // 2), interpolation=cv2.INTER_LINEAR)
    box2x = [x / 2 for x in box]
    output2x = self._simple_roialign(input2x, box2x, (5, 5), aligned=True)
    diff = np.abs(output2x - output)
    self.assertTrue(diff.max() < 1e-4)