def test_smart_add_selections(self):
        view = self.view
        regions = list(self.start_regions)

        view.run_command("selection_fields", {"mode": "smart"})

        for i, v in enumerate(self.start_regions):
            sel = view.sel()[0]
            new_sel = to_region(sel.begin() - 1)
            view.sel().add(new_sel)
            regions.insert(i * 2, to_region(new_sel))

            view.run_command("selection_fields", {"mode": "smart"})
        self.assertSelectionEqual(view.sel(), regions)
Integrate a system of ordinary differential equations.
dataset/ETHPy150Open philippotto/Sublime-MultiEditUtils/tests/testSelectionFields.py/TestSelectionFields.test_smart_add_selections--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/integrate/odepack.py/odeint