Question: Step 4: Test Your Python Code Put lines of code in the main part of your Python program to test your Python function using the

Step 4: Test Your Python Code Put lines of code
Step 4: Test Your Python Code Put lines of code in the main part of your Python program to test your Python function using the test cases that you defined above. Here are some examples using the three test cases shown above: # Test 1 result :co.vert to Caesar ( Hello there' ) If ( result == 'HELLOTHERE' ) : p. _ t'': e i 1 0n') else: p. it 'le . 1 e. . or: ' + re ult, # Test 2 result= convert_to_Caesar ( "It's me. Do you understand?") if ( result == ' IT TEXDOYOUUNDER TAND' ) : print ( ' Tesi z OK' ) else: print ( 'Tesi z error: ' + result) # Test . result= convert_to_Caesar (' I studied in 2018. ') if ( result == ' ISTUDIEDINX' ) : print ( 'Test 3 OK' ) else: print ( 'Test 3 error: ' + result)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!