oleaut32: Add a failing VarFormat test showing that wine wrongly truncates decimals with large negative exponents instead of rounding.

This commit is contained in:
Damjan Jovanovic 2009-05-17 11:09:16 +02:00 committed by Alexandre Julliard
parent 850f6c7965
commit b51d03125d
1 changed files with 2 additions and 0 deletions

View File

@ -381,6 +381,8 @@ static void test_VarFormat(void)
VARFMT(VT_R8,V_R8,-0.1,".#",S_OK,"-.1");
VARFMT(VT_R8,V_R8,0.099,"#.#",S_OK,".1");
VARFMT(VT_R8,V_R8,0.0999,"#.##",S_OK,".1");
/* for large negative exponents, wine truncates instead of rounding */
todo_wine VARFMT(VT_R8,V_R8,0.099,"#.##",S_OK,".1");
/* 'out' is not cleared */