wllgrnt / protein-networks

Refactored version of my PhD code using a MongoDB backend to store the generated data
GNU General Public License v3.0
0 stars 0 forks source link

Finish unit tests for current version of the code #10

Open wllgrnt opened 6 years ago

wllgrnt commented 6 years ago

Current code coverage is poor for everything except the Database class, and the unit tests don't test many of the possible networks I can generate e.g. atomic networks.

wllgrnt commented 6 years ago

Left to do generally:

Network:

Database:

Partition:

SuperNetwork

wllgrnt commented 6 years ago

Currently the database, Infomap, and matplotlib are mocked, such that failures there can't be tested properly. Is bad!