Mercurial > hg > audiodb
diff libtests/0028/prog1.c @ 495:c291e9201a3c api-inversion
libtests cleanups
Delete unused functions from test_utils.lib.h. maketestfile()'s int*
argument should be an int; fix that and alter the sources accordingly.
Add -Werror to the Makefile for test files, now that they all do compile
without warnings.
author | mas01cr |
---|---|
date | Sat, 10 Jan 2009 15:33:21 +0000 |
parents | f6b126b018d8 |
children |
line wrap: on
line diff
--- a/libtests/0028/prog1.c Sat Jan 10 15:33:16 2009 +0000 +++ b/libtests/0028/prog1.c Sat Jan 10 15:33:21 2009 +0000 @@ -9,8 +9,8 @@ if(!(adb = audiodb_create(TESTDB,0,0,0))) return 1; - maketestfile("testfeature", (int[1]) {2}, (double[4]){0, 1, 1, 0}, 4); - maketestfile("testpower", (int[1]) {1}, (double[2]) {-0.5, -1}, 2); + maketestfile("testfeature", 2, (double[4]){0, 1, 1, 0}, 4); + maketestfile("testpower", 1, (double[2]) {-0.5, -1}, 2); batch[0].features="testfeature"; batch[0].power="testpower";