def METHOD_NAME(self):
    image = np.zeros((100, 100, 3))
    target_H, target_W = 50, 100
    resize_mode = external_code.ResizeMode.INNER_FIT
    result = external_code.pixel_perfect_resolution(image, target_H, target_W, resize_mode)
    expected = 100  # manually computed expected result
    self.assertEqual(result, expected)