summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/test/Makefile6
-rw-r--r--src/test/testIsEmpty.c9
3 files changed, 14 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 17ca4635..c67d7168 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-02-15 Bruno JOFRET <bruno.jofret@inria.fr>
+
+ * src/test/testIsEmpty.c :
+ Add some tests.
+ * src/test/Makefile :
+ Some trouble with link... Better in this order !
+
2007-02-14 Bruno JOFRET <bruno.jofret@inria.fr>
* src/test/test*.c :
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;
}