summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/Makefile6
-rw-r--r--src/test/testIsEmpty.c9
2 files changed, 7 insertions, 8 deletions
diff --git a/src/test/Makefile b/src/test/Makefile
index c2d27c79..d93b272d 100644
--- a/src/test/Makefile
+++ b/src/test/Makefile
@@ -5,7 +5,7 @@
## Made by Bruno JOFRET <bruno.jofret@inria.fr>
##
## Started on Thu Nov 30 16:33:40 2006 jofret
-## Last update Wed Feb 14 18:00:48 2007 jofret
+## Last update Thu Feb 15 17:16:42 2007 jofret
##
## Copyright INRIA 2006
##
@@ -22,8 +22,8 @@ LIBS = -lm \
-lTan -lTanh \
-lSign \
-lExp \
- -lFind \
- -lIsEmpty
+ -lIsEmpty \
+ -lFind
CFLAGS = -Werror -Wall -ansi $(INCLUDE)
CLFLAGS = $(LINK) $(LIBS)
diff --git a/src/test/testIsEmpty.c b/src/test/testIsEmpty.c
index 899d3253..956ee054 100644
--- a/src/test/testIsEmpty.c
+++ b/src/test/testIsEmpty.c
@@ -5,7 +5,7 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Wed Feb 14 16:07:57 2007 jofret
-** Last update Thu Feb 15 16:32:47 2007 jofret
+** Last update Thu Feb 15 17:17:01 2007 jofret
**
** Copyright INRIA 2007
*/
@@ -40,19 +40,18 @@ int disemptyaTest() {
printf(">> Double array\n");
double empty[5] = {0., 0., 0., 0., 0.};
- /*
double full[5] = {1., 2., 3., 0., 0.};
- */
+
if (disEmptya(empty, 5) == false) {
printf("ERROR ! : Test Failed (empty array)\n");
return ERROR;
}
- /*
+
if (disEmptya(full, 5) == true) {
printf("ERROR ! : Test Failed (non empty array)\n");
return ERROR;
}
- */
+
return 0;
}