########################## Part 4: Running the script ########################## Running *python test.py* will invoke the SquarerTest.test_positive_numbers method and also the SquarerTest.test_negative_numbers method. If our Squarer.calc method is working as we expect it to, if it conforms to the behavior we defined in the *squares* dictionary, then nothing will be printed to the console. On the other hand, if the SquarerTest finds discrepancies in the behavior of Squarer, then it will print those discrepancies to the console. Since *squarer.py* has an error that the other developer just introduced, here is the result of running *python test.py*: :: $ python test.py Squared 3 and got 27 but expected 9 Squared 12 and got 8916100448256 but expected 144 Squared 100 and got 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 but expected 10000 Squared -1 and got -1.0 but expected 1 Squared -2 and got 0.25 but expected 4 Squared -3 and got -0.037037037037037035 but expected 9 Squared -12 and got 1.1215665478461509e-13 but expected 144 Squared -100 and got 1e-200 but expected 10000 $ Let's go back into squarer.py and fix our mistake: .. raw:: html