What is the unittest module?
The unittest module provides tools for code testing like the TestCase class.
How do you write a test case?
To test a function or class, import the test code into a new and write a test case that inherits from unittest.TestCase and then write methods to test code behavior.
What does the unittest.assetEqual() method do?
The unittest.assertEqual() method helps modify code, fix bugs, and add features, and has it's code inherited when writing test cases.
What other assert methods are available?
assertNotEqual(), assertTrue(), assertFalse(), assertIn(), and assertnotIn().