-
Notifications
You must be signed in to change notification settings - Fork 61
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
Missing tests: is_block_positive
#335
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #335 +/- ##
========================================
+ Coverage 97.2% 97.4% +0.1%
========================================
Files 152 152
Lines 3046 3044 -2
Branches 726 725 -1
========================================
+ Hits 2961 2965 +4
+ Misses 50 48 -2
+ Partials 35 31 -4 ☔ View full report in Codecov by Sentry. |
96224af
to
c3f63ed
Compare
@vprusso Do you mind explaining the use-case scenario for these lines? I am struggling with defining the input matrix and dims for this case. toqito/toqito/matrix_props/is_block_positive.py Lines 71 to 75 in 2226c46
|
To do: Search for open ended discussions in published refs for below. toqito/toqito/matrix_props/is_block_positive.py Lines 109 to 111 in 2226c46
|
All I can really say is that I believe this was an artifact of the way in which the same type of thing was checked in the QETLAB implementation. I'm not sure I have a more satisfying impression of this at the moment. There was a similar check in the Not sure if that's overly zealous or if perhaps there's a reason why this makes sense to do in MATLAB vs. Python. So we could either remove it, or, keep it for now and expect that it will remain uncovered. |
marking this ready for review even though the line below is uncovered. toqito/toqito/matrix_props/is_block_positive.py Lines 109 to 111 in 2226c46
|
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.
🚀
Description
Related to some uncovered lines in #241
Last line is still not covered by this PR.
Todos
Notable points that this PR has either accomplished or will accomplish.
Questions
Status