Piotr Caban : msvcrt: Add printf meaningless digits tests.
Module: wine Branch: master Commit: f87b3750fc877935336cee2bbf8a6bf41e55836c URL: https://source.winehq.org/git/wine.git/?a=commit;h=f87b3750fc877935336cee2bb... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Fri Nov 1 11:49:46 2019 +0100 msvcrt: Add printf meaningless digits tests. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msvcrt/tests/printf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/msvcrt/tests/printf.c b/dlls/msvcrt/tests/printf.c index 5ce4015440..ac5c37a59c 100644 --- a/dlls/msvcrt/tests/printf.c +++ b/dlls/msvcrt/tests/printf.c @@ -248,6 +248,8 @@ static void test_sprintf( void ) { "%.0f", "-1", 0, TODO_FLAG | DOUBLE_ARG, 0, 0, -0.5 }, { "%.0f", "1", 0, TODO_FLAG | DOUBLE_ARG, 0, 0, 0.5 }, { "%.0f", "2", 0, DOUBLE_ARG, 0, 0, 1.5 }, + { "%.30f", "0.333333333333333310000000000000", 0, TODO_FLAG | DOUBLE_ARG, 0, 0, 1.0/3.0 }, + { "%.30lf", "1.414213562373095100000000000000", 0, TODO_FLAG | DOUBLE_ARG, 0, 0, sqrt(2) }, }; char buffer[100];
participants (1)
-
Alexandre Julliard