Skip to content

Commit

Permalink
added test checking conversion into bounded, undirected graph
Browse files Browse the repository at this point in the history
  • Loading branch information
eileen-kuehn committed Jul 29, 2018
1 parent 4b3332b commit b267e75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graphi_unittests/types_unittests/test_undirected.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,6 @@ def test_conversion(self):
clone_undirected = adjacency_graph.AdjacencyGraph(graph, undirected=True)
self.assertTrue(slice("6", "1") in clone_undirected)
self.assertTrue(clone_undirected.undirected)
clone_bounded = adjacency_graph.AdjacencyGraph(graph, value_bound=1, undirected=True)
self.assertTrue(slice("2", "1") in clone_bounded)
self.assertFalse(slice("6", "1") in clone_bounded)

0 comments on commit b267e75

Please sign in to comment.