refactor: rename ArbitraryFunction to UnivariateFunction

- the naming has always been confusing and recent changes to the code make
this rename necessary for things to be clearer
This commit is contained in:
Arthur Meyre
2021-10-11 09:53:03 +02:00
parent 44016cc80c
commit 00916bcfdb
15 changed files with 72 additions and 69 deletions

View File

@@ -386,24 +386,24 @@ def test_tracing_astype(
[
pytest.param(
{"x": EncryptedScalar(Integer(7, is_signed=False))},
ir.ArbitraryFunction,
ir.UnivariateFunction,
),
pytest.param(
{"x": EncryptedScalar(Integer(32, is_signed=True))},
ir.ArbitraryFunction,
ir.UnivariateFunction,
),
pytest.param(
{"x": EncryptedScalar(Integer(64, is_signed=True))},
ir.ArbitraryFunction,
ir.UnivariateFunction,
),
pytest.param(
{"x": EncryptedScalar(Integer(128, is_signed=True))},
ir.ArbitraryFunction,
ir.UnivariateFunction,
marks=pytest.mark.xfail(strict=True, raises=NotImplementedError),
),
pytest.param(
{"x": EncryptedScalar(Float(64))},
ir.ArbitraryFunction,
ir.UnivariateFunction,
),
],
)