def testSubsetRepeat3(self):
   self.assertEqual(hw.subsetRepeat(11, [2, 4, 6]), False)
 def testSubsetRepeat1(self):
   self.assertEqual(hw.subsetRepeat(5, [1, 2]), True)
 def testSubsetRepeat2(self):
   self.assertEqual(hw.subsetRepeat(11, [6, 2, 7]), True)
 def testSubsetRepeat4(self):
   self.assertEqual(hw.subsetRepeat(23, [41, 3,]), False)
示例#5
0
 def testSubsetRepeat2(self):
     self.assertEqual(hw.subsetRepeat(11, [6, 2, 7]), True)
示例#6
0
 def testSubsetRepeat1(self):
     self.assertEqual(hw.subsetRepeat(5, [1, 2]), True)
示例#7
0
 def testSubsetRepeat4(self):
     self.assertEqual(hw.subsetRepeat(23, [
         41,
         3,
     ]), False)
示例#8
0
 def testSubsetRepeat3(self):
     self.assertEqual(hw.subsetRepeat(11, [2, 4, 6]), False)