8000 Implemented some unittests in mixer_test.py by BeXXsoR · Pull Request #3967 · pygame/pygame · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implemented some unittests in mixer_test.py #3967

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

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

BeXXsoR
Copy link
Contributor
@BeXXsoR BeXXsoR commented Jul 23, 2023

Hi, I'm new to open source, this is my first contribution. I implemented the following unittests in mixer_test.py:

  • ChannelTypeTest.test_get_busy__active
  • ChannelTypeTest.test_stop
  • SoundTypeTest.test_get_volume__while_playing
  • SoundTypeTest.test_set_volume__while_playing
  • SoundTypeTest.test_stop__while_playing

I hope they help and are ok. Feedback is welcome.

p.s.: I saw in another PR that formatting the code via installing black and running python setup.py format was necessary. If that's needed here as well I'll add it, but I wanted to ask first before breaking anything.

Copy link
Member
@illume illume left a comment

Choose a reason for hiding this comment

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

👍 thanks.

@illume illume merged commit 57fc112 into pygame:main Jul 27, 2023
@BeXXsoR BeXXsoR deleted the add-tests-to-mixer_test branch June 12, 2024 09:32
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
0