def testRfind(self):
     a = Bits('0b11101010010010')
     b = a.rfind('0b010')
     self.assertEqual(b[0], 11)
Exemple #2
0
 def testRfind(self):
     a = Bits('0b11101010010010')
     b = a.rfind('0b010')
     self.assertEqual(b[0], 11)