def test_find_leaf5(self): tree = FileSystemTree('TestFolder') leaf = tree.find_leaf((0, 0, 1100, 900), (90, 800)) self.assertEqual(leaf._root, 'T3.txt')
def test_find_leaf3(self): tree = FileSystemTree('TestFolder\\F1') leaf = tree.find_leaf((0, 0, 1100, 900), (600, 500)) self.assertEqual(leaf._root, 'T2.txt')