Exemplo n.º 1
0
 def test_mulComm_cornerCase(self):
     """Tests if testing for commutative multiplication works for n=1"""
     self.assertTrue(TwistedInt.isMulCommutative(1))
Exemplo n.º 2
0
 def test_mulComm_isValid(self):
     """Tests that multiplication is commutative for n=5"""
     self.assertTrue(TwistedInt.isMulCommutative(5))