Example #1
0
 def test_empty_set(self):
     block_val = predicates.commonSetElementPredicate(set())
     self.assertEqual(block_val, tuple())
Example #2
0
 def test_empty_set(self):
     block_val = predicates.commonSetElementPredicate(set())
     self.assertEqual(block_val, tuple())
Example #3
0
 def test_long_set(self):
     block_val = predicates.commonSetElementPredicate(self.s1)
     self.assertEqual(set(block_val), set(('blue', 'green', 'red')))
Example #4
0
 def test_long_set(self):
     block_val = predicates.commonSetElementPredicate(self.s1)
     self.assertEqual(set(block_val), set(('blue', 'green', 'red')))