GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — sisotool small visual cleanup, new feature to show step response of different input-output than loop by sawyerbfuller · Pull Request #531 · python-control/python-control Conversation
|
|
Coverage increased (+0.3%) to 87.948% when pulling abca69d on sawyerbfuller:sisotooling into 73f65df on python-control:master. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
👍
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ng wrong step response
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Nice. Let's go all the way and cover these two lines as well: https://coveralls.io/builds/36884037/source?filename=control%2Fsisotool.py#L170 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…atibility with matplotlib 1 released 10 years ago
|
|
||
| # test supply tvect | ||
| sisotool(sys, tvect=np.arange(0, 1, .1)) | ||
|
|
||
| # test discrete-time | ||
| sisotool(sysdt, tvect=5) | ||
|
|
||
| # test MIMO compatibility | ||
| # sys must be siso or 2 input, 2 output | ||
| with pytest.raises(ControlMIMONotImplemented): | ||
| sisotool(sys221) | ||
| # does not raise an error: | ||
| sisotool(sys222) | ||
|
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would move these to separate tests.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
sure, thanks for the suggestions. still getting the hang of best practices for testing
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ax_step.lines[0].get_data()[1][:10], step_response_moved, 4) | ||
|
|
||
| # test supply tvect | ||
| sisotool(sys, tvect=np.arange(0, 1, .1)) |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This still does not cover https://coveralls.io/builds/36911686/source?filename=control%2Fsisotool.py#L168
tvect is not passed through to _SisotoolUpdate
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Let's see if that works
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.