示例#1
0
 def testIndItemNotInList(self):
     self.assertEqual(hw.ind('i', 'team'), 4)
 def testIndItemNotInList(self):
     self.assertEqual(hw.ind('i', 'team'), 4)
示例#3
0
 def testIndItemInList(self):
     self.assertEqual(hw.ind(42, [55, 77, 42, 12, 42, 100]), 2)
 def testIndItemInList(self):
     self.assertEqual(hw.ind(42, [ 55, 77, 42, 12, 42, 100 ]), 2)