Consider the following code snippet:
import unittest
def multiply(a, b):
return a * b
class TestMultiply(unittest.TestCase):
def test_multiply(self):
self.assertEqual(multiply(3, 4), 12)
self.assertEqual(multiply(-2, 5), -10)
self.assertEqual(multiply(0, 6), 0)
if __name__ == '__main__':
unittest.main()
What is the purpose of the assertEqual method used in the test_multiply
method?