Skip to content

Commit

Permalink
Refactor all pytest of transform.py routines
Browse files Browse the repository at this point in the history
  • Loading branch information
KybernetikJo committed Sep 2, 2023
1 parent e160566 commit 9cddda4
Show file tree
Hide file tree
Showing 14 changed files with 645 additions and 511 deletions.
9 changes: 8 additions & 1 deletion slycot/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@ set(PYSOURCE
test_mc.py
test_sb.py
test_analysis.py
test_transform.py
test_sg02ad.py
test_sg03ad.py
test_tb01id.py
test_tb01pd.py
test_tb03ad.py
test_tb04ad.py
test_tb05ad.py
test_tc01od.py
test_tc04ad.py
test_td04ad.py
test_tf01md.py
test_tf01rd.py
test_tg01ad.py
test_tg01fd.py )

Expand Down
15 changes: 15 additions & 0 deletions slycot/tests/test_tb01id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import warnings

import pytest

from slycot import transform as tf
from slycot.exceptions import SlycotArithmeticError

from .test_exceptions import assert_docstring_parse


class Test_tb01id:

@pytest.mark.skip(reason="not implemented")
def test_tb01id(self):
pass
15 changes: 15 additions & 0 deletions slycot/tests/test_tb01pd.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import warnings

import pytest

from slycot import transform as tf
from slycot.exceptions import SlycotArithmeticError

from .test_exceptions import assert_docstring_parse


class Test_tb01pd:

@pytest.mark.skip(reason="not implemented")
def test_tb01pd(self):
pass
21 changes: 21 additions & 0 deletions slycot/tests/test_tb03ad.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import warnings

import pytest

from slycot import transform as tf
from slycot.exceptions import SlycotArithmeticError

from .test_exceptions import assert_docstring_parse


class Test_tb03ad:

@pytest.mark.parametrize(
'fun, exception_class, erange, checkvars',
((tf.tb03ad, SlycotArithmeticError, 2, {}),))
def test_tb03ad_docparse(self, fun, exception_class, erange, checkvars):
assert_docstring_parse(fun.__doc__, exception_class, erange, checkvars)

@pytest.mark.skip(reason="not implemented")
def test_tb03ad(self):
pass
15 changes: 15 additions & 0 deletions slycot/tests/test_tb04ad.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import warnings

import pytest

from slycot import transform as tf
from slycot.exceptions import SlycotArithmeticError

from .test_exceptions import assert_docstring_parse


class Test_tb04ad:

@pytest.mark.skip(reason="not implemented")
def test_tb04ad(self):
pass

0 comments on commit 9cddda4

Please sign in to comment.