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