From d2093dadda00c5575f60b2649e63d950b05a59f5 Mon Sep 17 00:00:00 2001 From: Allen Goodman Date: Sun, 19 May 2024 16:38:46 -0400 Subject: [PATCH] TestTransform --- tests/__init__.py | 0 tests/beignet/transforms/test__transform.py | 27 +++++++++++++++++++++ 2 files changed, 27 insertions(+) delete mode 100644 tests/__init__.py create mode 100644 tests/beignet/transforms/test__transform.py diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/beignet/transforms/test__transform.py b/tests/beignet/transforms/test__transform.py new file mode 100644 index 0000000000..7929de433b --- /dev/null +++ b/tests/beignet/transforms/test__transform.py @@ -0,0 +1,27 @@ +import pytest +from beignet.transforms import Transform + + +class TestTransform: + def test___init__(self): + assert Transform() + + def test__check_inputs(self): + with pytest.raises(NotImplementedError) as _: + Transform()._check_inputs([]) + + def test__get_params(self): + assert True + + def test__transform(self): + with pytest.raises(NotImplementedError) as _: + Transform()._transform(None, {}) + + def test__transformables(self): + assert True + + def test_extra_repr(self): + assert True + + def test_forward(self): + assert True