Skip to content

refactor: change service run structure and add test coverage#133

Merged
vitalymelni merged 35 commits intoMapColonies:masterfrom
vitalymelni:feature/add-merger-service-tests
Jan 3, 2024
Merged

refactor: change service run structure and add test coverage#133
vitalymelni merged 35 commits intoMapColonies:masterfrom
vitalymelni:feature/add-merger-service-tests

Conversation

@vitalymelni
Copy link
Copy Markdown
Contributor

Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

Further information:
Add new unit tests for the merger service project, and adds some tests of the image processing classes

@shimoncohen shimoncohen changed the title adds merger service unit tests and image processing tests test: add merger service unit tests and image processing tests Dec 28, 2023
Copy link
Copy Markdown
Contributor

@asafMasa asafMasa left a comment

Choose a reason for hiding this comment

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

Great Job Please merge latest from master and fix remarks

@shimoncohen shimoncohen changed the title test: add merger service unit tests and image processing tests refactor: change service run structure and add test coverage Dec 28, 2023
@vitalymelni vitalymelni force-pushed the feature/add-merger-service-tests branch from 02216ca to 582121c Compare January 1, 2024 12:37
@vitalymelni vitalymelni force-pushed the feature/add-merger-service-tests branch from dcee0c7 to 9fa9ad0 Compare January 1, 2024 14:20
@vitalymelni vitalymelni force-pushed the feature/add-merger-service-tests branch from 8d6ffeb to 6de35b0 Compare January 2, 2024 07:15
@vitalymelni vitalymelni force-pushed the feature/add-merger-service-tests branch from c8976f3 to 89800d2 Compare January 2, 2024 09:42
Copy link
Copy Markdown
Contributor

@asafMasa asafMasa left a comment

Choose a reason for hiding this comment

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

Looking good

@vitalymelni vitalymelni requested a review from asafMasa January 3, 2024 10:05
Copy link
Copy Markdown
Contributor

@asafMasa asafMasa left a comment

Choose a reason for hiding this comment

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

Great Job!

File.ReadAllBytes("4_upscaled_3_13.jpeg"),
};

yield return new object[] {
Copy link
Copy Markdown
Contributor

@asafMasa asafMasa Jan 3, 2024

Choose a reason for hiding this comment

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

please update upscale test for varius Png's:
8-bit
24-bit
32-bit
64-bit
Background: The scenario is that we recieve 8-bit and use image magic to declare it as png-32 and then set it to target
When we read it from target we don't check or set it to 32 Bit in imageMagic in that case i don't know what format it thinks it is but it's beeing sent to upscale when needed - this may cause an exception that i want to check in tests

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added

@vitalymelni vitalymelni requested a review from asafMasa January 3, 2024 13:13
@vitalymelni vitalymelni merged commit e2770da into MapColonies:master Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants