-
Notifications
You must be signed in to change notification settings - Fork 25
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
[c++] Extend some unit-test cases for new shape #3068
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3068 +/- ##
==========================================
+ Coverage 89.79% 89.94% +0.14%
==========================================
Files 41 41
Lines 4107 4107
==========================================
+ Hits 3688 3694 +6
+ Misses 419 413 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
91f6ac1
to
470c088
Compare
470c088
to
5321e89
Compare
@@ -1422,11 +1422,6 @@ void SOMAArray::_set_current_domain_from_shape( | |||
// Variant-indexed dataframes must use a separate path | |||
_check_dims_are_int64(); | |||
|
|||
if (_get_current_domain().is_empty()) { |
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.
This was wrong, and not caught sooner b/c I didn't loop over both false & true in the unit-test code.
The is-empty check is done in both callers of this method.
@nguyenv ready for round two! :) |
a2bb0d0
to
cff1925
Compare
cff1925
to
d66d775
Compare
d66d775
to
a3bf767
Compare
Thanks @nguyenv ! |
Issue and/or context: As tracked on issue #2407 / [sc-51048].
Note that the intended Python and R API changes are all agreed on and finalized as described in #2407.
Changes:
For various debugs a while back I'd apparently left some Catch2 flags to on or off vs. looping over both. This PR fixes those overssights.
Notes for Reviewer: