The following function calculates a discounted price based o…
Questions
The fоllоwing functiоn cаlculаtes а discounted price based on the discount percentage: def calculate_discount(price, discount_percent): if discount_percent >= 50: return price * 0.5 elif discount_percent >= 25: return price * 0.75 elif discount_percent >= 10: return price * 0.9 else: return price Below are four unit test cases designed to test this function: def test_discount_50(self): self.assertEqual(calculate_discount(100, 50), 50.0) def test_discount_25(self): self.assertEqual(calculate_discount(100, 30), 75.0)def test_discount_10(self): self.assertEqual(calculate_discount(100, 15), 85.0)def test_no_discount(self): self.assertEqual(calculate_discount(100, 5), 100.0) Which of the following test cases does NOT correctly verify the expected behavior of calculate_discount()?"