summaryrefslogtreecommitdiff
path: root/tests/test_reachability.py
blob: 8908c30996d515c7eae96541e9276895174f8bea (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()