Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite and BF for SRS CTC-100 #257

Merged
merged 2 commits into from
Sep 8, 2020

Conversation

trappitsch
Copy link
Contributor

Full coverage test suite for SRS CTC-100

Minor bug fix for srsctc100.py:
get_log_point method in Channel subclass assigned a quantity to
return values without converting them to numbers. Returned were thus
unitful strings. While technically not a bug, this behavior does not
fit together with the rest of this class or the general returns in ik
Now floats are returned.

Full coverage test suite for SRS CTC-100

Minor bug fix for `srsctc100.py`:

`get_log_point` method in `Channel` subclass assigned a quantity to
return values without converting them to numbers. Returned were thus
unitful strings. While technically not a bug, this behavior does not
fit together with the rest of this class or the general returns in ik
Now floats are returned.
@trappitsch
Copy link
Contributor Author

@scasagrande I think the usage of parametrization and hypothesis is more realistic here compared to PR #256. What do you think?

@coveralls
Copy link

coveralls commented Sep 8, 2020

Coverage Status

Coverage increased (+0.6%) to 91.784% when pulling 1386eb5 on trappitsch:tests_srsctc100 into d5c1ad5 on Galvant:master.

@scasagrande
Copy link
Contributor

Back to the computer. Tests look great to me!

@scasagrande scasagrande merged commit f10497d into instrumentkit:master Sep 8, 2020
@trappitsch trappitsch deleted the tests_srsctc100 branch September 8, 2020 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants