tests.test_readwrite
Tests reading and writing of graph.
-
class tests.test_readwrite.TestStringUtils
Bases: object
Test utilities that work over networkx graphs.
-
test_as_string()
Verify non-empty string.
-
test_from_string()
Verify succesful reading of empty graph.
-
test_inverses()
Test that writing the string and then reading it yields identical graph.