Added the test case for samax.

This commit is contained in:
Xianyi Zhang 2012-04-26 16:17:17 +08:00
parent 08570c4248
commit 5656cca4f3
4 changed files with 7 additions and 1 deletions

View File

@ -63,5 +63,7 @@ double _Complex BLASFUNC_REF(zdotc) (blasint *, double *, blasint *, double
void BLASFUNC_REF(drotmg)(double *, double *, double *, double *, double *);
double BLASFUNC_REF(dsdot)(blasint *, float *, blasint *, float *, blasint*);
FLOATRET BLASFUNC_REF(samax) (blasint *, float *, blasint *);
#endif

View File

@ -11,7 +11,7 @@ CUNIT_LIB=$(CUNIT_DIR)/lib/libcunit.a
CFLAGS+=-I$(CUNIT_DIR)/include
OBJS=main.o test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o test_dsdot.o
OBJS=main.o test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o test_dsdot.o test_amax.o
all : run_test

View File

@ -61,4 +61,6 @@ void test_drotmg(void);
void test_dsdot_n_1(void);
void test_samax(void);
#endif

View File

@ -58,6 +58,8 @@ CU_TestInfo test_level1[]={
{"Testing drotmg",test_drotmg},
{"Testing dsdot with n == 1",test_dsdot_n_1},
{"Testing samax", test_samax},
CU_TEST_INFO_NULL,
};