diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2014-11-10 20:29:19 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2014-11-10 20:29:19 +0000 |
commit | 356eeb7a319b6ee865f5001d1e3d8fab2f57e3c0 (patch) | |
tree | b33b0f46f4c04d66c9e4b39eeba2598132052b47 /tests/xttest_util.hpp | |
parent | ba706261d3fc5b436aa6f09d57e62eeb77377d8f (diff) | |
download | LibXtract-356eeb7a319b6ee865f5001d1e3d8fab2f57e3c0.tar.gz LibXtract-356eeb7a319b6ee865f5001d1e3d8fab2f57e3c0.tar.bz2 LibXtract-356eeb7a319b6ee865f5001d1e3d8fab2f57e3c0.zip |
Initial unit testing setup with an example test
Diffstat (limited to 'tests/xttest_util.hpp')
-rw-r--r-- | tests/xttest_util.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/xttest_util.hpp b/tests/xttest_util.hpp new file mode 100644 index 0000000..a669ae9 --- /dev/null +++ b/tests/xttest_util.hpp @@ -0,0 +1,6 @@ + + +#include <stdint.h> + +void xttest_gen_sine(double *table, uint32_t tablesize, double samplerate, double frequency, double amplitude); +void xttest_gen_noise(double *table, uint32_t tablesize, double amplitude); |