diff options
author | simon | 2009-09-01 07:15:39 +0000 |
---|---|---|
committer | simon | 2009-09-01 07:15:39 +0000 |
commit | 2f6116d4be562b1ffdfb51e92510b0dfee14d52b (patch) | |
tree | c1146c9efb6cb2b356dd1f9d598c129cf1c00959 /src | |
parent | 12c0f2d250d4ed1c4b2ee9b1d84ed70601c16034 (diff) | |
download | scilab2c-2f6116d4be562b1ffdfb51e92510b0dfee14d52b.tar.gz scilab2c-2f6116d4be562b1ffdfb51e92510b0dfee14d52b.tar.bz2 scilab2c-2f6116d4be562b1ffdfb51e92510b0dfee14d52b.zip |
changed testfind to fit new prototype
Diffstat (limited to 'src')
-rw-r--r-- | src/c/auxiliaryFunctions/find/testFind.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/c/auxiliaryFunctions/find/testFind.c b/src/c/auxiliaryFunctions/find/testFind.c index a6a9ef58..298d55b3 100644 --- a/src/c/auxiliaryFunctions/find/testFind.c +++ b/src/c/auxiliaryFunctions/find/testFind.c @@ -24,8 +24,8 @@ int sfindaTest() { outBad=(float*)malloc((unsigned int)5*sizeof(float)); printf(">> Floats \n"); - sfinda(goodArray, 5, outGood, &indiceOut); - sfinda(badArray, 5, outBad, &indiceOut); + sfinda(goodArray, 5, outGood, &indiceOut,-1); + sfinda(badArray, 5, outBad, &indiceOut,-1); for (i=0;i<4;i++){ if ( outGood[i] != res[i]) { @@ -64,8 +64,8 @@ int dfindaTest() { printf(">> Double \n"); - dfinda(goodArray, 5, outGood, &indiceOut); - dfinda(badArray, 5, outBad, &indiceOut); + dfinda(goodArray, 5, outGood, &indiceOut,-1); + dfinda(badArray, 5, outBad, &indiceOut,-1); for (i=0;i<4;i++){ if ( outGood[i] != res[i]) { @@ -116,8 +116,8 @@ int cfindaTest() { badArray[4] = FloatComplex(0., 0.); printf(">> Float Complex \n"); - cfinda(goodArray, 5, outGood, &indiceOut); - cfinda(badArray, 5, outBad, &indiceOut); + cfinda(goodArray, 5, outGood, &indiceOut,-1); + cfinda(badArray, 5, outBad, &indiceOut,-1); for (i=0;i<4;i++){ if ( outGood[i] != res[i]) { @@ -170,8 +170,8 @@ int zfindaTest() { printf(">> Double Complex \n"); - zfinda(goodArray, 5, outGood, &indiceOut); - zfinda(badArray, 5, outBad, &indiceOut); + zfinda(goodArray, 5, outGood, &indiceOut,-1); + zfinda(badArray, 5, outBad, &indiceOut,-1); for (i=0;i<4;i++){ if ( outGood[i] != res[i]) { |