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

transform.chop test and fix #1996

Merged
merged 1 commit into from Jul 4, 2020
Merged

transform.chop test and fix #1996

merged 1 commit into from Jul 4, 2020

Conversation

MightyJosip
Copy link
Contributor

This should fix: #1757. NOTE: In some cases chop could return bigger surface than the original surface (for example last assertEqual returned (400, 400) even thought original surface was (20, 20)) so that is why I also modified chop source code.

Copy link
Contributor

@MyreMylar MyreMylar left a comment

Choose a reason for hiding this comment

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

Looks solid to me 👍

@MyreMylar MyreMylar merged commit 599a76c into pygame:master Jul 4, 2020
@MightyJosip MightyJosip deleted the test_chop branch July 4, 2020 18:57
@illume illume changed the title Added test for transform.chop transform.chop test and fix Sep 14, 2020
@illume illume added the transform pygame.transform label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transform pygame.transform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unit test: transform.chop()
3 participants