示例#1
0
 def test_addComm_cornerCase(self):
     """Tests if testing for commutative addition works for n=1"""
     self.assertTrue(TwistedInt.isAddCommutative(1))
示例#2
0
 def test_addComm_isValid(self):
     """Tests that addition is commutative for n=5"""
     self.assertTrue(TwistedInt.isAddCommutative(5))