-
Notifications
You must be signed in to change notification settings - Fork 48
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
WIP: Test bonanza for v3 #203
Conversation
Codecov Report
@@ Coverage Diff @@
## v3 #203 +/- ##
==========================================
+ Coverage 82.86% 88.44% +5.58%
==========================================
Files 31 31
Lines 2399 2372 -27
==========================================
+ Hits 1988 2098 +110
+ Misses 411 274 -137
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Since I consider this PR to be low-risk and unsurprising, I'm just merging right away, You're all welcome to review |
Improve test coverage for v3
Resolves #139 . During the testing, it is possible some functions may be changed if they are discovered to be broken. This PR will contain an exhaustive list of all non-test changes, that is, changes in the
src
directory,Completion
Current changes / bugfixes
join!
is now exported as it should have beenjoin!(::BioSequence, ::Vector)
which caused it to fail_copyto!
forBioSequence
toBase.copyto!
. I don't know why it was an internal method before, honestly.unsafe_setindex!
, which has been kept until now for backwards compatibilityis_canonical
incanonical(::BioSequence)
Base.cmp
forBitIndex
extract_encoded_element(::BitIndex, ::NTuple)
andbitmask(::Type, ::Val)
LongSequence(it) = LongSequence{eltype(it)}(it)
(was also wrong)LongSequence{A}(::Union{AbstractString,AbstractVector{UInt8}}, ::Integer, ::Integer)
to take a range instead of two integers for consistency with other constructorsbitindex(::LongSubSeq, ::Integer)
encoded_setindex!(::SeqOrView, ::Unsigned, ::Integer)
symbols_per_data_element(::LongSubSeq)
AbstractUnitRange
overUnitRange
with identical behaviour