# Path: pisi/graph.py
# class CycleException(pisi.Exception):
# class Digraph(object):
#     def __init__(self, cycle):
#     def __str__(self):
#     def __init__(self):
#     def vertices(self):
#     def edges(self):
#     def add_vertex(self, u, data = None):
#     def add_edge(self, u, v, edata = None, udata = None, vdata = None):
#     def add_biedge(self, u, v, edata = None):
#     def set_vertex_data(self, u, data):
#     def vertex_data(self, u):
#     def edge_data(self, u, v):
#     def has_vertex(self, u):
#     def has_edge(self, u,v):
#     def adj(self, u):
#     def dfs(self, finish_hook = None):
#     def dfs_visit(self, u, finish_hook):
#     def cycle_free(self):
#     def topological_sort(self):
#     def id_str(self, u):
#     def write_graphviz(self, f):
#     def write_graphviz_vlabel(self, f, u):
#     def write_graphviz_elabel(self, f, u, v):


import unittest
import os
import pisi
from pisi import graph

class GraphTestCase(unittest.TestCase):
    def setUp(self):
        self.g0 = pisi.graph.Digraph()
        self.g0.add_edge(1,2)
        self.g0.add_edge(1,3)
        self.g0.add_edge(2,3)
        self.g0.add_edge(3,4)
        self.g0.add_edge(4,1)


# Path: pisi/graph.py
# class CycleException(pisi.Exception):
# class Digraph(object):
#     def __init__(self, cycle):
#     def __str__(self):
#     def __init__(self):
#     def vertices(self):
#     def edges(self):
#     def add_vertex(self, u, data = None):
#     def add_edge(self, u, v, edata = None, udata = None, vdata = None):
#     def add_biedge(self, u, v, edata = None):
#     def set_vertex_data(self, u, data):
#     def vertex_data(self, u):
#     def edge_data(self, u, v):
#     def has_vertex(self, u):
#     def has_edge(self, u,v):
#     def adj(self, u):
#     def dfs(self, finish_hook = None):
#     def dfs_visit(self, u, finish_hook):
#     def cycle_free(self):
#     def topological_sort(self):
#     def id_str(self, u):
#     def write_graphviz(self, f):
#     def write_graphviz_vlabel(self, f, u):
#     def write_graphviz_elabel(self, f, u, v):


# Path: tests/graphtest.py
import unittest
import os
import pisi
from pisi import graph


class GraphTestCase(unittest.TestCase):
    def setUp(self):
        self.g0 = pisi.graph.Digraph()
        self.g0.add_edge(1,2)
        self.g0.add_edge(1,3)
        self.g0.add_edge(2,3)
        self.g0.add_edge(3,4)
        self.g0.add_edge(4,1)


        self.g1 = pisi.graph.Digraph()