From 5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1 Mon Sep 17 00:00:00 2001 From: jofret Date: Wed, 14 Feb 2007 16:40:33 +0000 Subject: * src/test/test*.c : Add some FIXME in order to remember to code some tests. * src/test/testFind.c : Testing of the find function. * src/test/testIsEmpty.c : Testing of the isEmpty function. * src/misc : Create for misc includes. * src/auxiliaryFunctions/find/notFound.h : Moved * src/misc/notFound.h : Better use here. * */*/Makefile : Modify all Makefiles. Remove -pedantic. Must be crazy to use this... * src/auxiliaryFunctions/isempty : IsEmpty functions implementation. * src/auxiliaryFunctions/isempty/{sdcz}isEmptya.c : Implementation : s(float) d(double) c(floatComplex) z(doubleComplex) --- src/test/testCos.c | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) (limited to 'src/test/testCos.c') diff --git a/src/test/testCos.c b/src/test/testCos.c index f4c024bd..bd7a7668 100644 --- a/src/test/testCos.c +++ b/src/test/testCos.c @@ -5,7 +5,7 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Fri Dec 8 15:05:44 2006 jofret -** Last update Mon Dec 11 10:58:24 2006 jofret +** Last update Wed Feb 14 17:37:43 2007 jofret ** ** Copyright INRIA 2006 */ @@ -48,9 +48,45 @@ void dcossTest() { printf("dcoss(-PI/6) = %e\n", dcoss(-PI/6)); } +void ccossTest() { + printf(">> Float Complex scalar\n"); + /* FIXME : Implement some test here ... */ +} + +void zcossTest() { + printf(">> Double Complex scalar\n"); + /* FIXME : Implement some test here ... */ +} + +void scosaTest() { + printf(">> Float array\n"); + /* FIXME : Implement some test here ... */ +} + +void dcosaTest() { + printf(">> Double Array\n"); + /* FIXME : Implement some test here ... */ +} + +void ccosaTest() { + printf(">> Float Complex Array\n"); + /* FIXME : Implement some test here ... */ +} + +void zcosaTest() { + printf(">> Double Complex Array\n"); + /* FIXME : Implement some test here ... */ +} + int testCos() { - printf(">>>> Cosine Tests\n"); + printf("\n>>>> Cosine Tests\n"); scossTest(); dcossTest(); + ccossTest(); + zcossTest(); + scosaTest(); + dcosaTest(); + ccosaTest(); + zcosaTest(); return 0; } -- cgit