예제 #1
0
 def test_erase_if(self):
   prof = [Property(100),Property(200),Property(300)]
   CORBA_SeqUtil.erase_if(prof,FunctorFind(999))
   self.assertEqual(len(prof), 3)
   
   CORBA_SeqUtil.erase_if(prof,FunctorFind(200))
   self.assertEqual(len(prof), 2)