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

Remove param support at the Object level #39

Merged
merged 6 commits into from
Jul 19, 2022
Merged

Remove param support at the Object level #39

merged 6 commits into from
Jul 19, 2022

Conversation

JeffFessler
Copy link
Member

@JeffFessler JeffFessler commented Jul 19, 2022

Any extra parameters are a property of the shape and should be part of Triangle for example.
This simplifies code for all shapes that don't need any extra parameters.
And at this point there is no need for the extra parameter for Triangle either,
though that could be added in the future if needed.
(This is further refinement inspired by #30.)

@codecov
Copy link

codecov bot commented Jul 19, 2022

Codecov Report

Merging #39 (65a4c80) into main (72e4a34) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #39   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines          449       448    -1     
=========================================
- Hits           449       448    -1     
Impacted Files Coverage Δ
src/object2.jl 100.00% <ø> (ø)
src/object3.jl 100.00% <ø> (ø)
src/object.jl 100.00% <100.00%> (ø)
src/triangle.jl 100.00% <100.00%> (ø)

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 72e4a34...65a4c80. Read the comment docs.

@JeffFessler JeffFessler marked this pull request as ready for review July 19, 2022 20:11
@JeffFessler JeffFessler merged commit c4316cd into main Jul 19, 2022
@JeffFessler JeffFessler deleted the rm-param branch July 19, 2022 20:12
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.

1 participant