source:
python/tests/test_aubio.py
@
c1ba75b
Last change on this file since c1ba75b was fc144a5, checked in by , 6 years ago | |
---|---|
|
|
File size: 386 bytes |
Rev | Line | |
---|---|---|
[75e715f] | 1 | #! /usr/bin/env python |
[1ebf8770] | 2 | |
[0b6d23d] | 3 | from numpy.testing import TestCase |
[ae6e15c] | 4 | |
[146280a] | 5 | class aubiomodule_test_case(TestCase): |
[ae6e15c] | 6 | |
[0b6d23d] | 7 | def test_import(self): |
8 | """ try importing aubio """ | |
9 | import aubio | |
[146280a] | 10 | |
[a159628] | 11 | def test_version(self): |
12 | """ test aubio.version """ | |
13 | import aubio | |
14 | self.assertEqual('0', aubio.version[0]) | |
15 | ||
[ae6e15c] | 16 | if __name__ == '__main__': |
[fc144a5] | 17 | from unittest import main |
[0b6d23d] | 18 | main() |
Note: See TracBrowser
for help on using the repository browser.