Commit 82a77530 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

oleaut32/tests: Remove unneeded parentheses.

parent c2d24fdb
...@@ -1617,17 +1617,17 @@ static void test_DateFromUDate( int line, WORD d, WORD m, WORD y, WORD h, WORD m ...@@ -1617,17 +1617,17 @@ static void test_DateFromUDate( int line, WORD d, WORD m, WORD y, WORD h, WORD m
double out; double out;
HRESULT res; HRESULT res;
ud.st.wYear = (y); ud.st.wYear = y;
ud.st.wMonth = (m); ud.st.wMonth = m;
ud.st.wDay = (d); ud.st.wDay = d;
ud.st.wHour = (h); ud.st.wHour = h;
ud.st.wMinute = (mn); ud.st.wMinute = mn;
ud.st.wSecond = (s); ud.st.wSecond = s;
ud.st.wMilliseconds = (ms); ud.st.wMilliseconds = ms;
ud.st.wDayOfWeek = (dw); ud.st.wDayOfWeek = dw;
ud.wDayOfYear = (dy); ud.wDayOfYear = dy;
res = pVarDateFromUdate(&ud, flags, &out); 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); "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) #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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment