Beispiel #1
0
 def testRemoveAll2(self):
     self.assertEqual(hw.removeAll(3, [4, 3, 77, 3]), [4, 77])
 def testRemoveAll2(self):
     self.assertEqual(hw.removeAll(3,[4,3,77,3] ), [4, 77])
Beispiel #3
0
 def testRemoveAll1(self):
     self.assertEqual(hw.removeAll(42, [55, 77, 42, 11, 42, 88]),
                      [55, 77, 11, 88])
 def testRemoveAll1(self):
     self.assertEqual(hw.removeAll(42, [ 55, 77, 42, 11, 42, 88 ]), [ 55, 77, 11, 88 ])