Skip to content

Instantly share code, notes, and snippets.

@sanjitk7
Created June 16, 2020 07:49
Show Gist options
  • Save sanjitk7/fae6a73ce1fb3c49344061e057be5b15 to your computer and use it in GitHub Desktop.
Save sanjitk7/fae6a73ce1fb3c49344061e057be5b15 to your computer and use it in GitHub Desktop.
added multiplication test before multiplication function is written
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