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

Implement more base methods #121

Merged
merged 6 commits into from
Dec 15, 2022
Merged

Implement more base methods #121

merged 6 commits into from
Dec 15, 2022

Conversation

sethaxen
Copy link
Collaborator

I went through https://github.com/JuliaLang/julia/blob/v1.8.3/base/complex.jl and implemented here for Quaternion all overloads that are there implemented for Complex. All of these methods resulted in a MethodError before this PR, so this is a non-breaking change.

The one overload I did not implement is hash, which I would need to take some more time to understand.

@codecov
Copy link

codecov bot commented Dec 10, 2022

Codecov Report

Merging #121 (30fe4d1) into main (3be75e4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #121   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          123       135   +12     
=========================================
+ Hits           123       135   +12     
Impacted Files Coverage Δ
src/Quaternion.jl 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@hyrodium hyrodium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added minor comments to the test code. The rest of the code seems fine:+1:

test/Quaternion.jl Outdated Show resolved Hide resolved
Copy link
Collaborator

@hyrodium hyrodium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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.

None yet

2 participants