Changeset 974dddc for tests/python


Ignore:
Timestamp:
Dec 1, 2007, 5:56:57 PM (17 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
41ed384
Parents:
b63b322
Message:

move tests/python/demo to tests/, add localaubio.py module helpers

Location:
tests/python
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • tests/python/run_all_tests

    rb63b322 r974dddc  
    11#! /usr/bin/python
    2 
    3 # add ${src}/python and ${src}/python/aubio/.libs to python path
    4 # so the script is runnable from a compiled source tree.
    5 import sys, os
    6 
    7 cur_dir = os.path.dirname(sys.argv[0])
    8 sys.path.append(os.path.join(cur_dir,'..','..','python'))
    9 sys.path.append(os.path.join(cur_dir,'..','..','python','aubio','.libs'))
    102
    113import unittest
  • tests/python/src/cvec.py

    rb63b322 r974dddc  
    1 import unittest
    2 
    3 from aubio.aubiowrapper import *
     1from template import aubio_unit_template
     2from localaubio import *
    43
    54buf_size = 2048
    65channels = 3
    76
    8 class cvec_test_case(unittest.TestCase):
     7class cvec_unit(aubio_unit_template):
    98
    109  def setUp(self):
  • tests/python/src/fvec.py

    rb63b322 r974dddc  
    1 import unittest
    2 
    3 from aubio.aubiowrapper import *
     1from template import aubio_unit_template
     2from localaubio import *
    43
    54buf_size = 2048
    65channels = 3
    76
    8 class fvec_test_case(unittest.TestCase):
     7class fvec_unit(aubio_unit_template):
    98
    109  def setUp(self):
  • tests/python/src/onset/peakpick.py

    rb63b322 r974dddc  
    11from template import aubio_unit_template
    2 
    3 from aubio.aubiowrapper import *
     2from localaubio import *
    43
    54buf_size = 7
  • tests/python/template.py

    rb63b322 r974dddc  
    1 
    21import unittest
    32
Note: See TracChangeset for help on using the changeset viewer.