예제 #1
0
 def testDotThreeItems(self):
     self.assertEqual(hw.dot([3, 6, 44], [23, 1, 4]), 251)
 def testDotThreeItems(self):
     self.assertEqual(hw.dot([3,6,44],[23,1,4]), 251)
예제 #3
0
 def testDotTwoItems(self):
     self.assertEqual(hw.dot([5, 3], [6, 4]), 42)
 def testDotTwoItems(self):
     self.assertEqual(hw.dot([5,3], [6,4]), 42)