def test_list_with_range(self): q = Queue() q.add('a', 'b', 'c') t = q.select('2-3') self.assertEqual(len(t), 2)
def test_select_multiple(self): q = Queue() q.add('a', 'b', 'c') t = q.select(1, 3) self.assertEqual(len(t), 2)