Пример #1
0
 def test_fuse_single_swap(self):
     first = Effect([], ["*"])
     second = Effect(["*", "*"], ["*", "*"])
     result = Effect(["*"], ["*", "*"])
     self.assertEqual(first.fuse(second), result)
Пример #2
0
 def test_fuse_empty_single(self):
     first = Effect([], [])
     second = Effect([], ["*"])
     result = Effect([], ["*"])
     self.assertEqual(first.fuse(second), result)