示例#1
0
 def test_mulAss_cornerCase(self):
     """Tests if testing for associative multiplication works for n=1"""
     self.assertTrue(TwistedInt.isMulAssociative(1))
示例#2
0
 def test_mulAss_valid(self):
     """Tests that multiplication is associative for n=5"""
     self.assertTrue(TwistedInt.isMulAssociative(4))