shithub: aubio

ref: 0a22ba9cf6d4ed193b06f8606d7f1bfdb0ddcc9c
dir: /python/tests/test_aubio.py/

View raw version
#! /usr/bin/env python

from numpy.testing import TestCase

class aubiomodule_test_case(TestCase):

    def test_import(self):
        """ try importing aubio """
        import aubio

    def test_version(self):
        """ test aubio.version """
        import aubio
        self.assertEqual('0', aubio.version[0])

if __name__ == '__main__':
    from unittest import main
    main()