Skip to content

Conversation

@Lemeri123
Copy link
Collaborator

@Lemeri123 Lemeri123 commented Feb 22, 2025

Initialization Tests:
testPictureInitialization: Tests the successful initialization of a Picture object with a valid image file.
testPictureInitializationWithInvalidImage: Tests the initialization of a Picture object with an invalid image file, expecting an IllegalArgumentException.

Proportion Tests:
testIsProportionedImage: Tests the isProportionedImage method for an image that meets the proportion criteria.
testIsNotProportionedImage: Tests the isProportionedImage method for an image that does not meet the proportion criteria.

Size Tests:
testIsValidImageSize: Tests the isValidImageSize method for an image that meets the minimum size criteria.
testIsNotValidImageSize: Tests the isValidImageSize method for an image that does not meet the minimum size criteria.

Copy link
Owner

@josdem josdem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Lemeri123 this is a nice test, just a small change before merge

@sonarqubecloud
Copy link

Copy link
Owner

@josdem josdem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing suggested changes 👍

@josdem josdem merged commit fea371a into main Feb 23, 2025
3 checks passed
@Lemeri123 Lemeri123 deleted the feat/85 branch February 23, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants