feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change
on this file since f70e181 was
799a940,
checked in by Paul Brossier <piem@piem.org>, 7 years ago
|
python/tests/test_aubio_*.py: add basic tests
|
-
Property mode set to
100755
|
File size:
335 bytes
|
Rev | Line | |
---|
[799a940] | 1 | #! /usr/bin/env python |
---|
| 2 | |
---|
| 3 | import aubio.cut |
---|
| 4 | from nose2 import main |
---|
| 5 | from numpy.testing import TestCase |
---|
| 6 | |
---|
| 7 | class aubio_cut(TestCase): |
---|
| 8 | |
---|
| 9 | def setUp(self): |
---|
| 10 | self.a_parser = aubio.cut.aubio_cut_parser() |
---|
| 11 | |
---|
| 12 | def test_default_creation(self): |
---|
| 13 | assert self.a_parser.parse_args(['-v']).verbose |
---|
| 14 | |
---|
| 15 | if __name__ == '__main__': |
---|
| 16 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.