Skip to content

feat: validation for tile pixel size to be 256X256 (MAPCO-3226)#164

Merged
nitzanmorr merged 5 commits intomasterfrom
hard-coded-size-validation
Sep 11, 2024
Merged

feat: validation for tile pixel size to be 256X256 (MAPCO-3226)#164
nitzanmorr merged 5 commits intomasterfrom
hard-coded-size-validation

Conversation

@nitzanmorr
Copy link
Copy Markdown
Contributor

Added a validation for pixel size every time a tile is generated. If the tile is not 256X256, an error will be thrown.
Suiting unit tests were added and existing tests were modified to use actual images instead of just bytes arrays' so it will work with the new Tile class validation.

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

@nitzanmorr nitzanmorr self-assigned this Aug 22, 2024
@nitzanmorr nitzanmorr marked this pull request as ready for review August 25, 2024 06:39
@nitzanmorr nitzanmorr requested a review from shimoncohen August 25, 2024 06:40
Comment thread MergerLogic/Batching/Tile.cs Outdated
Comment thread MergerLogic/Batching/Tile.cs Outdated
Comment thread MergerLogic/Utils/ImageUtils.cs Outdated
nitzanmorr and others added 2 commits September 5, 2024 09:59
Co-authored-by: Shimon Cohen <33935191+shimoncohen@users.noreply.github.com>
@nitzanmorr nitzanmorr merged commit 2749020 into master Sep 11, 2024
@nitzanmorr nitzanmorr deleted the hard-coded-size-validation branch September 11, 2024 12:31
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