def test_empty_sequence(self): self.assertEqual(method([]), [])
def test_decrease_sequence(self): self.assertEqual(method(list(range(10, 0, -1))), list(range(1, 11)))
def test_random_sequence(self): sequence = list(range(10)) random.shuffle(sequence) self.assertEqual(method(sequence), list(range(10)))
def test_one_sequence(self): self.assertEqual(method([1]), [1])
def test_increment_sequence(self): self.assertEqual(method(list(range(10))), list(range(10)))
def test_decrease_sequence(self): self.assertEqual( method(list(range(10, 0, -1))), list(range(1, 11)))
def test_increment_sequence(self): self.assertEqual( method(list(range(10))), list(range(10)))