示例#1
0
 def test_printall1_validOne(self):
     """Tests finding the x values where x ⊗ x = 1 when n is 1"""
     self.assertEqual("[]  Total: 0", TwistedInt.printall1(1))
示例#2
0
 def test_printall1_validTwenty(self):
     """Tests finding the x values where x ⊗ x = 1 when n is 20"""
     self.assertEqual("[]  Total: 0", TwistedInt.printall1(20))
示例#3
0
 def test_printall1_valid(self):
     """Tests finding the x values where x ⊗ x = 1 when n is 17"""
     self.assertEqual("['5', '10']  Total: 2", TwistedInt.printall1(17))