oleaut32/tests: Remove unneeded parentheses.
This commit is contained in:
parent
c2d24fdba9
commit
82a7753058
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue