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