Modify the module you wrote for Homework Assignment 5 which contains the class so that it imports unittest and then uses it to verify all the methods of the class. Be sure to make the class module testable on its own.
The professor asked us to implement the whole thing as a single program and doesn’t want the code to be written in multiple files. Request you to please write the code in a single file within the existing code. Please make sure the pi value doesn’t change and the other existing functionalities doesn’t change.PFA file in which the updations has to be made.