Searched refs:empty_set (Results 1 - 4 of 4) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_sets.py9 empty_set = Set() variable
36 result = self.set | empty_set
40 result = empty_set | self.set
48 result = self.set & empty_set
49 self.assertEqual(result, empty_set)
52 result = empty_set & self.set
53 self.assertEqual(result, empty_set)
57 self.assertEqual(result, empty_set)
60 result = self.set ^ empty_set
65 self.assertEqual(result, empty_set)
[all...]
H A Dtest_set.py680 empty_set = set() variable
729 result = self.set | empty_set
733 result = empty_set | self.set
741 result = self.set & empty_set
742 self.assertEqual(result, empty_set)
745 result = empty_set & self.set
746 self.assertEqual(result, empty_set)
753 result = self.set.isdisjoint(empty_set)
757 result = empty_set.isdisjoint(self.set)
762 self.assertEqual(result, empty_set)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_sets.py9 empty_set = Set() variable
36 result = self.set | empty_set
40 result = empty_set | self.set
48 result = self.set & empty_set
49 self.assertEqual(result, empty_set)
52 result = empty_set & self.set
53 self.assertEqual(result, empty_set)
57 self.assertEqual(result, empty_set)
60 result = self.set ^ empty_set
65 self.assertEqual(result, empty_set)
[all...]
H A Dtest_set.py680 empty_set = set() variable
729 result = self.set | empty_set
733 result = empty_set | self.set
741 result = self.set & empty_set
742 self.assertEqual(result, empty_set)
745 result = empty_set & self.set
746 self.assertEqual(result, empty_set)
753 result = self.set.isdisjoint(empty_set)
757 result = empty_set.isdisjoint(self.set)
762 self.assertEqual(result, empty_set)
[all...]

Completed in 49 milliseconds