Skip to content

Add Unit Tests for Bitcrush Plugin #428

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Anipaleja
Copy link

This pull request adds a dedicated test suite for the Bitcrush plugin to enhance test coverage and improve long-term stability.

Changes:

  • Changed tests/test_bitcrush.py
  • Added tests for:
    • Basic audio transformation with a sine wave input
    • Edge cases (bit depths of 1 and 24)
    • Invalid input handling (e.g., negative or excessively high bit depth)

Rationale:
These tests ensure the Bitcrush plugin behaves as expected under normal and extreme conditions. They also verify that invalid configurations correctly raise exceptions, helping maintain robustness and usability.

All tests pass locally using pytest. Let me know if you'd like any additional coverage or formatting changes!

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.

1 participant