[UCRTBASE_APITEST] Add ucrtbase_apitest

First test is ceil.
This commit is contained in:
Timo Kreuzer 2025-05-16 15:46:26 +03:00
parent b401f547ae
commit 43546cb5c2
4 changed files with 47 additions and 0 deletions

View file

@ -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
}