1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
Max Maisel 5f0c02273e Fix Loudness effect unit tests
Introduce new helper functions which handle selection and update
scripted selection to new upstream.
2019-11-22 19:42:33 +01:00
..
2019-11-22 19:42:33 +01:00
2019-11-22 19:42:32 +01:00
2019-11-22 19:42:33 +01:00

Unit tests for Audacity effects

These unit tests check the correctness of Audacity's effect calculations against GNU octave. Therefore some simple deterministic and random sample data is generated and passed to Audacity via mod-script-pipe.

To run a test, run: (replace <desired_test.m> with the correct filename)

./run_test.m <desired_test.m>

The tests will print the results to the terminal and will return 0 on success and non-zero on error.

To run those tests you need a Linux system with GNU Octave, octave-forge-signal and Audacity mod-script-pipe installed.