Equivalence Testing in Python

Activities in this unit required us to test in codio. Several tests were carried out that included the use of equivalence.py, metricTest,py, pylintTest.py, styleLint.py, sums.py and sums2.py

first to be tested in codio was equivalence.py and we got the output below

Then we tested pylintTest.py with the code shown below;

The output form the above code is shown below

Then we run the styleLint.py whose code is shown below;

The output form this code is shown below;

Then we run the sums.py whose code is shown below;

Output for sums.py is shown below

Lastly we run sums2.py whose code is shown below;

The output for sums2.py is shown below;

  • Module Artefacts

    Phone

    +265 888 208 986

    Address

    National TB Program
    Private Bag 65
    Lilongwe, Malawi