示例#1
0
 def testFind(self):
     self.assertEqual(1, h.find(range(10), lambda x: x==1))
示例#2
0
 def testFind(self):
     self.assertRaises(Exception, h.find(range(10), lambda x: x==1))