def test_cycle_sort(self): self.assertTrue(is_sorted(cycle_sort([1, 3, 2, 5, 65, 23, 57, 1232])))
def test_cycle_sort(self): self.assertEqual([1, 5, 23, 57, 65, 1232], cycle_sort([1, 5, 65, 23, 57, 1232]))