Video upload date:  · Duration: PT1H46M27S  · Language: EN

You are working on a Python project that github video

copilot-gh-300 video for you are working on a Python project that includes a function calculate_discount(price, discount_rate) which calculates the final price

This is a dedicated watch page for a single video.

Full Certification Question

You are working on a Python project that includes a function calculate_discount(price, discount_rate) which calculates the final price after applying a discount. You want to use GitHub Copilot to generate unit tests for this function, ensuring that edge cases like invalid input are also covered. How can you use GitHub Copilot to generate appropriate tests for your function? (Select two)