Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/286-sharpen-image' into 286-shar…
Browse files Browse the repository at this point in the history
…pen-image

# Conflicts:
#	tests/safeds/data/image/containers/test_image.py
  • Loading branch information
patrikguempel committed Jun 16, 2023
2 parents c1a37d3 + f677729 commit 1429ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/safeds/data/image/containers/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def test_should_be_original(self) -> None:

class TestSharpen:
@pytest.mark.parametrize("factor", [-1, 0.5, 2, 25])
def test_should_sharpen(self, factor: int) -> None:
def test_should_sharpen(self, factor: float) -> None:
image = Image.from_png_file(resolve_resource_path("image/sharpen/to_sharpen.png"))
image2 = image.sharpen(factor)
assert image != image2
Expand Down

0 comments on commit 1429ea7

Please sign in to comment.