Skip to content

Commit

Permalink
added test for representation of edge
Browse files Browse the repository at this point in the history
  • Loading branch information
eileen-kuehn committed Jul 26, 2018
1 parent 9e9d6c6 commit b6866f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions graphi_unittests/test_edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def test_iter(self):
edge2 = Edge(*edge)
self.assertEquals(edge2, edge)

def test_representation(self):
edge = Edge("start", "stop")
self.assertEquals("[start:stop]", str(edge))


class TestLoop(unittest.TestCase):
def test_init(self):
Expand Down

0 comments on commit b6866f2

Please sign in to comment.