def METHOD_NAME(
        self, storage, format, prealloc, estimate, expected):
    img = image.Image("/path")
    initial_size = img.calculate_initial_size(
        storage == "file", format, prealloc, estimate)
    assert initial_size == expected