From 6e1e9e73065fccd499683e70c695c72f6b1e8114 Mon Sep 17 00:00:00 2001 From: hades Date: Fri, 8 Sep 2000 15:40:06 +0000 Subject: [PATCH] *** empty log message *** --- allParam/test/test14.c | 1 - allParam/test/test16.c | 2 +- allParam/test/test18.c | 2 +- allParam/test/test20.c | 1 - allParam/test/test4.c | 2 +- allParam/test/test8.c | 2 +- 6 files changed, 4 insertions(+), 6 deletions(-) diff --git a/allParam/test/test14.c b/allParam/test/test14.c index e949e4a..631c5ae 100644 --- a/allParam/test/test14.c +++ b/allParam/test/test14.c @@ -10,7 +10,6 @@ int test14(const char *testid, const Param *param) { char *idx = "blub"; unsigned long int result[NUM2]; int rows; - int resultsum = 1; int i; int retVal; int myRetVal; diff --git a/allParam/test/test16.c b/allParam/test/test16.c index f2e5af3..9e63502 100644 --- a/allParam/test/test16.c +++ b/allParam/test/test16.c @@ -19,7 +19,7 @@ int test16(const char *testid, const Param *param) { retVal = Param_getIntArray(param, name, idx, NUM4, &rows, result); for(i = 0 ; i < NUM2 ; i++) { - resultsum &= (result[i] == 0); + resultsum &= (result[i] == i + 1 - 2*(i%2)); } if ((rows == NUM2) && resultsum && (retVal == 0)) { myRetVal = 0; diff --git a/allParam/test/test18.c b/allParam/test/test18.c index 55edf7d..f7b7d7e 100644 --- a/allParam/test/test18.c +++ b/allParam/test/test18.c @@ -19,7 +19,7 @@ int test18(const char *testid, const Param *param) { retVal = Param_getIntArray(param, name, idx, NUM6, &rows, result); for(i = 0 ; i < NUM6 ; i++) { - resultsum &= (result[i] == 0); + resultsum &= (result[i] == i + 1 - 2*(i%2)); } if ((rows == NUM6) && resultsum && (retVal == 0)) { myRetVal = 0; diff --git a/allParam/test/test20.c b/allParam/test/test20.c index e1b79ce..9397c07 100644 --- a/allParam/test/test20.c +++ b/allParam/test/test20.c @@ -10,7 +10,6 @@ int test20(const char *testid, const Param *param) { char *idx = "fefpgafile"; unsigned long int result[NUM1]; int rows; - int resultsum = 1; int i; int retVal; int myRetVal; diff --git a/allParam/test/test4.c b/allParam/test/test4.c index 947c52f..62a7354 100644 --- a/allParam/test/test4.c +++ b/allParam/test/test4.c @@ -19,7 +19,7 @@ int test4(const char *testid, const Param *param) { retVal = Param_getIntArray(param, name, idx, NUM2, &rows, result); for(i = 0 ; i < NUM2 ; i++) { - resultsum &=(result[i] == 0); + resultsum &= (result[i] == i + 1 - 2*(i%2)); } if ((rows == NUM2) && resultsum && (retVal == 0)) { myRetVal = 0; diff --git a/allParam/test/test8.c b/allParam/test/test8.c index cfed94e..b817a63 100644 --- a/allParam/test/test8.c +++ b/allParam/test/test8.c @@ -19,7 +19,7 @@ int test8(const char *testid, const Param *param) { retVal = Param_getIntArray(param, name, idx, NUM2, &rows, result); for(i = 0 ; i < NUM2 ; i++) { - resultsum &=(result[i] == 0); + resultsum &= (result[i] == i + 1 - 2*(i%2)); } if ((rows == NUM2) && resultsum && (retVal == 0)) { myRetVal = 0; -- 2.43.0