dominikbraun / graph

A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
https://graph.dominikbraun.io
Apache License 2.0
1.77k stars 95 forks source link

chore: use subtests in all unit tests #161

Open Ozoniuss opened 8 months ago

Ozoniuss commented 8 months ago

Changes all (remaining) unit tests to use subtests. I pretty much followed the same implementation that some were already using, which is the same as the one from Dave Cheney's blog blog, or one of your own repositories.

This PR is very big, so I did not change anything else except putting the original tests into subtests and fix three (likely) writing issues. To make it easy to find them, see:

Some other considerations:

closes #68