summaryrefslogtreecommitdiff
path: root/tests/test_acyclicity.py
blob: 2eb857794d828227378ef6d12c81534404c88a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import unittest
from sources.acyclicity import acyclic


class MyTestCase(unittest.TestCase):
    def test_something(self):
        adj = [[1], [2], [0], [0]]

        self.assertEqual(1, acyclic(adj))


if __name__ == '__main__':
    unittest.main()