def test_sorted(self):
        profit = [10, 20, 30, 40, 50, 60]
        weight = [2, 4, 6, 8, 10, 12]
        max_weight = 100
        self.assertEqual(kp.calc_profit(profit, weight, max_weight), 210)