-
Notifications
You must be signed in to change notification settings - Fork 2
Adding negative tests for partial read workflow #115
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #115 +/- ##
=======================================
Coverage 97.11% 97.11%
=======================================
Files 8 8
Lines 243 243
=======================================
Hits 236 236
Misses 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
||
%TODO: negative values, wrong datatypes, out of bounds | ||
|
||
wrongDims = [1,1,1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment here that the number of dimensions is wrong? I understand making the variable name shorter, but without that information it can be hard to quickly figure out what is "wrong" about these dimensions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated comment.
inpVal = [100 200]; | ||
errID = 'MATLAB:Python:PyException'; | ||
testcase.verifyError(@()zarrread(zpath,"Start",inpVal),errID); | ||
%testcase.verifyError(@()zarrread(zpath,"Stride",inpVal),errID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this one commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Shubh!
Addressing the todo items for using negative inputs with partial read workflows.