Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add png2src unit tests #760

Merged
merged 2 commits into from
Sep 24, 2024
Merged

add png2src unit tests #760

merged 2 commits into from
Sep 24, 2024

Conversation

lukki15
Copy link
Contributor

@lukki15 lukki15 commented Sep 7, 2024

relates to #497

Because the math of handling any PNG width is a bit tricky, I created this unit tests.

I used the Jest unit testing framework and activated the coverage report, which says the tests cover 98.91% of lines.
At this moment I verify the code by having sprites of size 7x7 and 8x8 with one and two BPPs.

@aduros
Copy link
Owner

aduros commented Sep 24, 2024

Thank you!! We're overdue for adding some tests 😄

@aduros aduros merged commit 715740d into aduros:main Sep 24, 2024
5 checks passed
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.

2 participants