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

Adds efficient isequal(), isless(), hash() and eachindex() #28

Merged
merged 2 commits into from
Dec 20, 2019

Conversation

NicholasWMRitchie
Copy link
Contributor

Add an efficient isequal(...), isless(...), hash(...) for the Element struct and a eachindex(...) for the Elements struct. Tests provided.

@codecov-io
Copy link

codecov-io commented Dec 19, 2019

Codecov Report

Merging #28 into master will increase coverage by 0.23%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   95.06%   95.29%   +0.23%     
==========================================
  Files           1        1              
  Lines          81       85       +4     
==========================================
+ Hits           77       81       +4     
  Misses          4        4
Impacted Files Coverage Δ
src/PeriodicTable.jl 95.29% <100%> (+0.23%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 060c572...57f1a0f. Read the comment docs.

src/PeriodicTable.jl Outdated Show resolved Hide resolved
@NicholasWMRitchie
Copy link
Contributor Author

Fixed hash...

@stevengj stevengj merged commit 93fdeb4 into JuliaPhysics:master Dec 20, 2019
@stevengj
Copy link
Collaborator

Thanks!

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.

3 participants