Ejemplo n.º 1
0
 def test_intersection(self):
     s = SortedFrozenSet({1, 2, 3})
     t = [2, 3, 4]
     assert s.intersection(t) == SortedFrozenSet({2, 3})
Ejemplo n.º 2
0
 def test_intersection(self):
     s = SortedFrozenSet({1, 2, 3})
     t = [2, 3, 4]
     self.assertEqual(s.intersection(t), SortedFrozenSet({2, 3}))
Ejemplo n.º 3
0
 def test_intersection(self):
     s = SortedFrozenSet({1, 2, 3})
     t = [2, 3, 4]
     self.assertEqual(s.intersection(t), SortedFrozenSet({2, 3}))