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 test for empty array handling #3

Closed
wants to merge 3 commits into from
Closed

Conversation

magland
Copy link
Collaborator

@magland magland commented Jan 24, 2025

This PR adds a test case for handling empty arrays to ensure proper error handling in the ANS encoder.

Changes:

  • Added test_empty_array() function to verify that empty arrays raise appropriate ValueError
  • Added the test to the main test execution block

@magland
Copy link
Collaborator Author

magland commented Jan 24, 2025

@blackwer I created this test PR to see if the workflow got triggered.

@magland
Copy link
Collaborator Author

magland commented Jan 24, 2025

The test is failing due to an issue with the build. I made a fix directly on main, and now I'm going to merge in that fix to this PR.

@magland magland closed this Jan 24, 2025
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