Esempio n. 1
0
 def test_union(self):
     s = SortedFrozenSet({1, 2, 3})
     t = [2, 3, 4]
     assert s.union(t) == SortedFrozenSet({1, 2, 3, 4})
Esempio n. 2
0
 def test_union(self):
     s = SortedFrozenSet({1, 2, 3})
     t = [2, 3, 4]
     self.assertEqual(s.union(t), SortedFrozenSet({1, 2, 3, 4}))
Esempio n. 3
0
 def test_union(self):
     s = SortedFrozenSet({1, 2, 3})
     t = [2, 3, 4]
     self.assertEqual(s.union(t), SortedFrozenSet({1, 2, 3, 4}))