Пример #1
0
 def test_union_by_fails(self, array1, array2, func, error):
     with pytest.raises(error):
         ListOperations.union_by(array1, array2, func)
Пример #2
0
 def test_union_by(self, array1, array2, func, result):
     assert ListOperations.union_by(array1, array2, func) == result