-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
441 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import numpy as np | ||
import pytest | ||
from scipy import signal | ||
|
||
from slycot import synthesis | ||
from slycot.exceptions import (SlycotArithmeticError, SlycotParameterError, | ||
SlycotResultWarning, raise_if_slycot_error) | ||
|
||
from .test_exceptions import assert_docstring_parse | ||
|
||
|
||
class Test_sb01bd(): | ||
|
||
@pytest.mark.parametrize( | ||
'fun, exception_class, erange, checkvars', | ||
((synthesis.sb01bd, SlycotArithmeticError, 2, {}), | ||
(synthesis.sb01bd, SlycotResultWarning, [3, 4, [1, 0]], {'nap': '1'}),)) | ||
def test_sb01bd_docparse(self, fun, exception_class, erange, checkvars): | ||
assert_docstring_parse(fun.__doc__, exception_class, erange, checkvars) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import numpy as np | ||
import pytest | ||
from scipy import signal | ||
|
||
from slycot import synthesis | ||
from slycot.exceptions import (SlycotArithmeticError, SlycotParameterError, | ||
SlycotResultWarning, raise_if_slycot_error) | ||
|
||
from .test_exceptions import assert_docstring_parse | ||
|
||
|
||
class Test_sb02md(): | ||
|
||
@pytest.mark.parametrize( | ||
'fun, exception_class, erange, checkvars', | ||
((synthesis.sb02md, SlycotArithmeticError, 5, {}),)) | ||
def test_sb02md_docparse(self, fun, exception_class, erange, checkvars): | ||
assert_docstring_parse(fun.__doc__, exception_class, erange, checkvars) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import numpy as np | ||
import pytest | ||
from scipy import signal | ||
|
||
from slycot import synthesis | ||
|
||
|
||
class Test_sb02mt(): | ||
|
||
@pytest.mark.skip("no implementation yet") | ||
def test_sb02mt(): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import numpy as np | ||
import pytest | ||
from scipy import signal | ||
|
||
from slycot import synthesis | ||
from slycot.exceptions import (SlycotArithmeticError, SlycotParameterError, | ||
SlycotResultWarning, raise_if_slycot_error) | ||
|
||
from .test_exceptions import assert_docstring_parse | ||
|
||
|
||
class Test_sb02od(): | ||
|
||
@pytest.mark.parametrize( | ||
'fun, exception_class, erange, checkvars', | ||
((synthesis.sb02od, SlycotArithmeticError, 6, {}),)) | ||
def test_sb02od_docparse(self, fun, exception_class, erange, checkvars): | ||
assert_docstring_parse(fun.__doc__, exception_class, erange, checkvars) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import numpy as np | ||
import pytest | ||
from scipy import signal | ||
|
||
from slycot import synthesis | ||
|
||
|
||
class Test_sb03md(): | ||
|
||
@pytest.mark.skip("no implementation yet") | ||
def test_sb03md(): | ||
pass |
Oops, something went wrong.