Ejemplo n.º 1
0
 def testSuperringGlobal(self):
     import nzmath.rational as rational
     F125 = FiniteExtendedField(5, 3)
     self.assertFalse(F125.issuperring(rational.theRationalField))
     self.assertFalse(F125.issuperring(rational.theIntegerRing))
Ejemplo n.º 2
0
 def testSuperring(self):
     F125 = FiniteExtendedField(5, 3)
     F5 = FinitePrimeField.getInstance(5)
     self.assertTrue(F125.issuperring(F5))