summaryrefslogtreecommitdiff
path: root/tests/test_reachability.py
blob: 318309b41586b4190500a206aed4fd6c329dc168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import unittest
from sources.reachability import reach


class TestReachability(unittest.TestCase):

    def testName(self):
        adj = [[1, 3],[], [1],[2]]
        self.assertEqual(1, reach(adj, 0, 3))


if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()