Skip to content

Commit

Permalink
TestTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed May 19, 2024
1 parent 516f9ff commit d2093da
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Empty file removed tests/__init__.py
Empty file.
27 changes: 27 additions & 0 deletions tests/beignet/transforms/test__transform.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d2093da

Please sign in to comment.