-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Improve test coverage for algorithms in betweenness_subset.py #6033
Copy link
Copy link
Closed
Labels
Description
Currently we don't have full coverage for algorithms in betweenness_subset.py. Code blocks which are highlighted with red at codcov https://app.codecov.io/gh/networkx/networkx/blob/main/networkx/algorithms/centrality/betweenness_subset.py don't have corresponding tests. The tests should be added in https://github.com/networkx/networkx/blob/main/networkx/algorithms/centrality/tests/test_betweenness_centrality_subset.py
Current Behavior
We don't test all the paths the code can take us.
Expected Behavior
We should be testing everything so there aren't any surprises.
Steps to Reproduce
Reactions are currently unavailable