Example #1
0
 def testInverse(self):
     residue1 = FinitePrimeFieldElement(8, 151)
     self.failUnless(isinstance(residue1.inverse(),
                                FinitePrimeFieldElement))
Example #2
0
 def testInverse(self):
     residue1 = FinitePrimeFieldElement(8, 151)
     self.assertTrue(isinstance(residue1.inverse(),
                                FinitePrimeFieldElement))