oleaut32/tests: Remove unneeded parentheses.

This commit is contained in:
Francois Gouget 2007-05-31 14:01:41 +02:00 committed by Alexandre Julliard
parent c2d24fdba9
commit 82a7753058
1 changed files with 10 additions and 10 deletions

View File

@ -1617,17 +1617,17 @@ static void test_DateFromUDate( int line, WORD d, WORD m, WORD y, WORD h, WORD m
double out;
HRESULT res;
ud.st.wYear = (y);
ud.st.wMonth = (m);
ud.st.wDay = (d);
ud.st.wHour = (h);
ud.st.wMinute = (mn);
ud.st.wSecond = (s);
ud.st.wMilliseconds = (ms);
ud.st.wDayOfWeek = (dw);
ud.wDayOfYear = (dy);
ud.st.wYear = y;
ud.st.wMonth = m;
ud.st.wDay = d;
ud.st.wHour = h;
ud.st.wMinute = mn;
ud.st.wSecond = s;
ud.st.wMilliseconds = ms;
ud.st.wDayOfWeek = dw;
ud.wDayOfYear = dy;
res = pVarDateFromUdate(&ud, flags, &out);
ok_(__FILE__,line)((r) == res && (FAILED(r) || fabs(out-(dt)) < 1.0e-11),
ok_(__FILE__,line)(r == res && (FAILED(r) || fabs(out-dt) < 1.0e-11),
"expected %x, %.16g, got %x, %.16g\n", r, dt, res, out);
}
#define UD2T(d,m,y,h,mn,s,ms,dw,dy,flags,r,dt) test_DateFromUDate(__LINE__,d,m,y,h,mn,s,ms,dw,dy,flags,r,dt)