timowest / flauta

GNU General Public License v2.0
7 stars 0 forks source link

Bottom up verification #6

Closed timowest closed 12 years ago

timowest commented 13 years ago

Bottom up verification of the code

The basic procedure for testing the code is drive the block in C++ and Faust with a common float typed WAV file and verify that the output WAV file matches.

We start with Bernoulli

timowest commented 13 years ago

a test case for the bernoulli component has been added. The output should look like this :

tiwe@tiwe-laptop:~/work/lv2/flauta$ make clean tests rm -rf .so .out .wav gen/ faust/*-svg alsa-gtk faust -a minimal.cpp -cn bernoulli tests/bernoulli-test.dsp > gen/bernoulli.cpp faust -a minimal.cpp -cn jetdrive tests/jetdrive-test.dsp > gen/jetdrive.cpp faust -a minimal.cpp -cn receptivity tests/receptivity-test.dsp > gen/receptivity.cpp faust -a minimal.cpp -cn turbulence tests/turbulence-test.dsp > gen/turbulence.cpp faust -a minimal.cpp -cn vortex tests/vortex-test.dsp > gen/vortex.cpp g++ -Wall -fpermissive tests/tests.cpp -I/usr/local/lib/faust/ -lm -lsndfile -Igen/ -Isrc/ -o tests.out ./tests.out