mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 06:53:00 +00:00
[UCRTBASE_APITEST] Add ucrtbase_apitest
First test is ceil.
This commit is contained in:
parent
b401f547ae
commit
43546cb5c2
4 changed files with 47 additions and 0 deletions
|
@ -59,6 +59,7 @@ void Test_ceil(void)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef _M_IX86
|
||||
static TESTENTRY_FLT s_ceilf_tests[] =
|
||||
{
|
||||
/* Special values */
|
||||
|
@ -101,9 +102,12 @@ void Test_ceilf(void)
|
|||
ok_eq_flt_exact("ceilf", s_ceilf_tests[i].x, z, s_ceilf_tests[i].result);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
START_TEST(ceil)
|
||||
{
|
||||
Test_ceil();
|
||||
#ifndef _M_IX86
|
||||
Test_ceilf();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue