Question: I want to write a test case where x is 4 and y is 4 and the expected result should be 2 ^ ( *
I want to write a test case where x is and y is and the expected result should be xy Suppose I already have the import statement. What would the assert statement look like using pytest to do this assuming we compare the actual and expected in just one linedef testcalculateEqualNumbersself:Check to see if output is correct where x is equal to y "type your answer...
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
