def test_5(self): self.assertEqual(list(runs_where([False, True])), [slice(1, 2)])
def test_3(self): self.assertEqual(list(runs_where([False])), [])
def test_4(self): self.assertEqual(list(runs_where([True, False])), [slice(0, 1)])
def test_1(self): self.assertEqual(list(runs_where([])), [])