mapequation / infomap

Multi-level network clustering based on the Map Equation
https://mapequation.org/infomap
GNU General Public License v3.0
425 stars 88 forks source link

Unit tests #346

Closed pojeda closed 11 months ago

pojeda commented 11 months ago

Hi,

How do you test if code implementation is giving correct results? Do you have some unit tests or a way to validate the Infomap code?

/Pedro

danieledler commented 11 months ago

Hi Pedro,

On the python api we use doctest that runs automatically with Github actions on new commits and should cover the common cases. We also have a few additional tests in a test folder that can be run manually, but certainly the test coverage can be improved.