def test_fuse_single_swap(self): first = Effect([], ["*"]) second = Effect(["*", "*"], ["*", "*"]) result = Effect(["*"], ["*", "*"]) self.assertEqual(first.fuse(second), result)
def test_fuse_empty_single(self): first = Effect([], []) second = Effect([], ["*"]) result = Effect([], ["*"]) self.assertEqual(first.fuse(second), result)