wmp/tests: Don't use round to avoid dependency on mingwex.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2100353861
commit
44bc06ba95
|
@ -419,7 +419,7 @@ static BOOL test_wmp(void)
|
||||||
ok(hres == S_OK, "IWMPPlayer4_get_currentMedia failed: %08x\n", hres);
|
ok(hres == S_OK, "IWMPPlayer4_get_currentMedia failed: %08x\n", hres);
|
||||||
hres = IWMPMedia_get_duration(media, &duration);
|
hres = IWMPMedia_get_duration(media, &duration);
|
||||||
ok(hres == S_OK, "IWMPMedia_get_duration failed: %08x\n", hres);
|
ok(hres == S_OK, "IWMPMedia_get_duration failed: %08x\n", hres);
|
||||||
ok(round(duration) == 3, "unexpected value: %f\n", duration);
|
ok(floor(duration + 0.5) == 3, "unexpected value: %f\n", duration);
|
||||||
IWMPMedia_Release(media);
|
IWMPMedia_Release(media);
|
||||||
|
|
||||||
network = NULL;
|
network = NULL;
|
||||||
|
|
Loading…
Reference in New Issue