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 non-default GenericGraph constructor #308

Conversation

simonschoelly
Copy link
Contributor

This PR removes the GenericGraph(elist) constructor.

The reason why we do not want to have such a constructor, is that we use GenericGraph to verify that an interface that uses an AbstractGraph only uses the methods as defined in the informal interface.

In the future, we might add convenience functions such as generic_graph(elist) that could help us de-clutter our tests.

@simonschoelly simonschoelly mentioned this pull request Sep 21, 2023
3 tasks
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #308 (d7870b7) into master (15e6640) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #308      +/-   ##
==========================================
- Coverage   97.26%   97.26%   -0.01%     
==========================================
  Files         115      115              
  Lines        6796     6794       -2     
==========================================
- Hits         6610     6608       -2     
  Misses        186      186              

@gdalle
Copy link
Member

gdalle commented Sep 21, 2023

wanna merge it?

@gdalle gdalle merged commit e53851f into JuliaGraphs:master Sep 21, 2023
9 of 12 checks passed
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