Unit Testing/Pytest/Test Output

Create a Python Program
Create the following Python program. Save it as

Create a Test Program
Create the following Pytest test program. Save it as

Test Success
Test the program by running pytest in a terminal or command prompt in the same folder as the two programs above and observe the results. pytest

Test Failure
Change the test source code somehow, such as replacing one of the input numeric values with a different value. Test the program by running pytest again and observe the results.