def testSubringGlobal(self): import nzmath.rational as rational F125 = FiniteExtendedField(5, 3) self.assertFalse(F125.issubring(rational.theRationalField)) self.assertFalse(F125.issubring(rational.theIntegerRing))
def testSubring(self): F125 = FiniteExtendedField(5, 3) F5 = FinitePrimeField.getInstance(5) self.assertFalse(F125.issubring(F5))