8000 Refactor all pytest of transform.py routines · python-control/Slycot@9b48c68 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b48c68

Browse files
committed
Refactor all pytest of transform.py routines
1 parent e160566 commit 9b48c68

14 files changed

+591
-460
lines changed

slycot/tests/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,18 @@ set(PYSOURCE
1111
test_mc.py
1212
test_sb.py
1313
test_analysis.py
14-
test_transform.py
1514
test_sg02ad.py
1615
test_sg03ad.py
16+
test_tb01id.py
17+
test_tb01pd.py
18+
test_tb03ad.py
19+
test_tb04ad.py
1720
test_tb05ad.py
21+
test_tc01od.py
22+
test_tc04ad.py
1823
test_td04ad.py
24+
test_tf01md.py
25+
test_tf01rd.py
1926
test_tg01ad.py
2027
test_tg01fd.py )
2128

slycot/tests/test_tb01id.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import warnings
2+
3+
import pytest
4+
5+
from slycot import transform as tf
6+
from slycot.exceptions import SlycotArithmeticError
7+
8+
from .test_exceptions import assert_docstring_parse
9+
10+
11+
class Test_tb01id:
12+
13+
@pytest.mark.skip(reason="not implemented")
14+
def test_tb01id(self):
15+
pass

slycot/tests/test_tb01pd.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import warnings
2+
3+
import pytest
4+
5+
from slycot import transform as tf
6+
from slycot.exceptions import SlycotArithmeticError
7+
8+
from .test_exceptions import assert_docstring_parse
9+
10+
11+
class Test_tb01pd:
12+
13+
@pytest.mark.skip(reason="not implemented")
14+
def test_tb01pd(self):
15+
pass

slycot/tests/test_tb03ad.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import warnings
2+
3+
import pytest
4+
5+
from slycot import transform as tf
6+
from slycot.exceptions import SlycotArithmeticError
7+
8+
from .test_exceptions import assert_docstring_parse
9+
10+
11+
class Test_tb03ad:
12+
13+
@pytest.mark.parametrize(
14+
'fun, exception_class, erange, checkvars',
15+
((tf.tb03ad, SlycotArithmeticError, 2, {}),))
16+
def test_tb03ad_docparse(self, fun, exception_class, erange, checkvars):
17+
assert_docstring_parse(fun.__doc__, exception_class, erange, checkvars)
18+
19+
@pytest.mark.skip(reason="not implemented")
20+
def test_tb03ad(self):
21+
pass

slycot/tests/test_tb04ad.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import warnings
2+
3+
import pytest
4+
5+
from slycot import transform as tf
6+
from slycot.exceptions import SlycotArithmeticError
7+
8+
from .test_exceptions import assert_docstring_parse
9+
10+
11+
class Test_tb04ad:
12+
13+
@pytest.mark.skip(reason="not implemented")
14+
def test_tb04ad(self):
15+
pass

0 commit comments

Comments
 (0)
0