Created
June 16, 2020 07:49
-
-
Save sanjitk7/fae6a73ce1fb3c49344061e057be5b15 to your computer and use it in GitHub Desktop.
added multiplication test before multiplication function is written
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_multiply(self): | |
A = [[1,1,1],[1,1,1],[1,1,1]] | |
B = [[1,1,1],[1,1,1],[1,1,1]] | |
product = [[3,3,3],[3,3,3],[3,3,3]] | |
self.assertEqual(multiply(A,B),product) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment