def test_quick_sort(self):
        test = self.unordered
        test_with_dupes = self.unordered_with_dupes

        sorting.quick_sort(test, 0, len(test)-1)
        sorting.quick_sort(test_with_dupes, 0, 1-len(test_with_dupes))

        self.assertEqual(test, self.ordered)
        self.assertEqual(test_with_dupes, self.ordered_with_dupes)
dataset/ETHPy150Open QuantumFractal/Data-Structure-Zoo/2-Sorting/test.py/TestSortingMethods.test_quick_sort/swapped operands of `-`