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