Skip to content

Add tests with null characters - #57

Merged
foreverallama merged 1 commit into
mainfrom
char-fixes-4
Mar 15, 2026
Merged

foreverallama merged 1 commit into
mainfrom
char-fixes-4

Conversation

@foreverallama

Copy link
Copy Markdown
Owner

Added tests with null characters.

  • NumPy deletes trailing NULL characters - this behaviour deviates from MATLAB so it is marked as xfail
  • Handling of the weird uint16 type char array results in NULL characters being stripped. This is also an xfail, however it's not a priority as the case is very rare. No tests are added for this case as the test files cannot be generated as of now (particularly, I don't know which MATLAB version to generate with).
  • Readability improvements

@foreverallama
foreverallama merged commit 4c3c9d0 into main Mar 15, 2026
3 checks passed
@foreverallama
foreverallama deleted the char-fixes-4 branch March 15, 2026 15:40
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