import unittest
from count_split_inversions import count_inversions


class TestCountSplitInversions(unittest.TestCase):

    def test_count_inversions(self):
        input = [1, 3, 5, 2, 4, 6]
        result = count_inversions(input)
        self.assertEqual(result, 3)

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

[((13, 4, 13, 19), 'unittest.main', 'unittest.main', ({}, {}), '()', False, 'import unittest\n'), ((9, 17, 9, 40), 'count_split_inversions.count_inversions', 'count_inversions', ({(9, 34, 9, 39): 'input'}, {}), '(input)', False, 'from count_split_inversions import count_inversions\n')]