Skip to content

Improve test coverage for Eigenvector centrality #6226

@Qudirah

Description

@Qudirah

I discovered there are still some red spots in this link
https://app.codecov.io/gh/networkx/networkx/blob/main/networkx/algorithms/centrality/eigenvector.py

I will like to work on it.

The tests will be added in
https://app.codecov.io/gh/networkx/networkx/blob/main/networkx/algorithms/centrality/tests/test_eigevector_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/eigenvector.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions