-
Notifications
You must be signed in to change notification settings - Fork 11
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 more tests #39
Add more tests #39
Conversation
Codecov Report
@@ Coverage Diff @@
## master #39 +/- ##
=========================================
+ Coverage 95.63% 96.93% +1.3%
=========================================
Files 10 10
Lines 206 196 -10
=========================================
- Hits 197 190 -7
+ Misses 9 6 -3
Continue to review full report at Codecov.
|
13d636e
to
39a1de6
Compare
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 is really sad :( But I think it's the best we can do right now
rowtab_ = Impute.dropobs!(rowtab; context=ctx) | ||
# The mutating test is broken because we need to making a copy of | ||
# the original table | ||
# @test_broken isequal(rowtab, expected) |
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.
# @test_broken isequal(rowtab, expected) | |
@test_broken isequal(rowtab, expected) |
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.
Fun fact, this test isn't broken :D
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.
can you please add a comment on that? (I didn't understand from the current comment why this test was commented out)
Closes #30 and #27.
NOTE: Since dropobs requires that
parent(data) === data
you may find unexpected behaviour when working with wrapper array types where it'll return the parent type rather than the wrapper type. I'm not sure if there is a good way around this sincesetparent!
isn't a thing.