Skip to content
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

improve test coverage #108

Merged
merged 3 commits into from
Sep 26, 2022
Merged

improve test coverage #108

merged 3 commits into from
Sep 26, 2022

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Sep 5, 2022

I noticed that the exactpfaffian!(A::SkewHermitian) method wasn't getting covered by tests. The pfaffian! function should call this rather than the lower-level _exactpfaffian! function.

In fact, the pfaffian!(A::SkewHermitian{<:ExactRational}) method was completely redundant with the pfaffian!(A::AbstractMatrix{<:ExactRational}) = exactpfaffian!(A) method.

@codecov
Copy link

codecov bot commented Sep 5, 2022

Codecov Report

Base: 88.09% // Head: 88.81% // Increases project coverage by +0.72% 🎉

Coverage data is based on head (c6441f1) compared to base (839097b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   88.09%   88.81%   +0.72%     
==========================================
  Files           9        9              
  Lines        1344     1422      +78     
==========================================
+ Hits         1184     1263      +79     
+ Misses        160      159       -1     
Impacted Files Coverage Δ
src/pfaffian.jl 94.44% <100.00%> (+2.77%) ⬆️
src/exp.jl 99.16% <0.00%> (-0.31%) ⬇️
src/skeweigen.jl 97.42% <0.00%> (+0.10%) ⬆️
src/skewhermitian.jl 83.72% <0.00%> (+0.77%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@stevengj
Copy link
Member Author

Should be fixed now.

@smataigne smataigne merged commit 5f348a0 into main Sep 26, 2022
@stevengj stevengj deleted the stevengj-patch-2 branch September 27, 2022 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants