summaryrefslogtreecommitdiff
path: root/src/test/testCos.c
diff options
context:
space:
mode:
authorjofret2007-02-14 16:40:33 +0000
committerjofret2007-02-14 16:40:33 +0000
commit5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1 (patch)
tree6338cd0169fcc49c09e928807c3a8800ba8fb88a /src/test/testCos.c
parent85c7a2e39d24c29a079a47e5c75e88c468756e5d (diff)
downloadscilab2c-5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1.tar.gz
scilab2c-5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1.tar.bz2
scilab2c-5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1.zip
* 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)
Diffstat (limited to 'src/test/testCos.c')
-rw-r--r--src/test/testCos.c40
1 files changed, 38 insertions, 2 deletions
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;
}