def test_isDistr_trueCornerCase(self): """Tests that twisted int arithmetic is distributive for n=1 and that the test works""" self.assertTrue(TwistedInt.isDistributive(1))
def test_isDistr_falseCornerCase(self): """Tests that twisted int arithmetic is not distributive for n=2""" self.assertFalse(TwistedInt.isDistributive(2))