forked from enlightenment/efl
* eina: add tests for eina fixed point sin/cos functions.
SVN revision: 48423
This commit is contained in:
parent
2e4b0fddd8
commit
49c0a1e6e2
|
@ -200,7 +200,7 @@ eina_f32p32_sin(Eina_F32p32 a)
|
|||
EINA_F32P32_PI);
|
||||
idx = eina_f32p32_int_to(interpol);
|
||||
if (idx >= MAX_PREC)
|
||||
idx = MAX_PREC - (idx + 1);
|
||||
idx = 2 * MAX_PREC - (idx + 1);
|
||||
|
||||
index2 = idx + 1;
|
||||
if (index2 == MAX_PREC)
|
||||
|
|
|
@ -32,6 +32,7 @@ check_PROGRAMS = eina_suite
|
|||
|
||||
eina_suite_SOURCES = \
|
||||
eina_suite.c \
|
||||
eina_test_fp.c \
|
||||
eina_test_stringshare.c \
|
||||
eina_test_array.c \
|
||||
eina_test_error.c \
|
||||
|
|
|
@ -33,6 +33,7 @@ struct _Eina_Test_Case
|
|||
};
|
||||
|
||||
static const Eina_Test_Case etc[] = {
|
||||
{ "FixedPoint", eina_test_fp },
|
||||
{ "Array", eina_test_array },
|
||||
{ "String Share", eina_test_stringshare },
|
||||
{ "Log", eina_test_log },
|
||||
|
|
Loading…
Reference in New Issue