-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Improve test coverage for algorithms in load centrality #6036
Copy link
Copy link
Closed
Labels
Description
Currently we don't have full coverage for the algorithms in load centrality. Code blocks which are highlighted with red at codcov https://app.codecov.io/gh/networkx/networkx/blob/main/networkx/algorithms/centrality/load.py don't have corresponding tests. The tests should be added in https://github.com/networkx/networkx/blob/main/networkx/algorithms/centrality/tests/test_load_centrality.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
Visit https://app.codecov.io/gh/networkx/networkx/blob/main/networkx/algorithms/centrality/load.py
Reactions are currently unavailable