mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
d3dx9_36/tests: Relax an equality between floats.
This commit is contained in:
parent
9c823d04b6
commit
3d5c61cdcd
@ -2418,7 +2418,7 @@ static void test_D3DXSHAdd(void)
|
||||
ok(relative_error(in1[i] + in2[i], out[i]) < admitted_error,
|
||||
"%u-%u: D3DXSHAdd() failed, got %f, expected %f\n", k, i, out[i], in1[i] + in2[i]);
|
||||
}
|
||||
ok(out[count] == 0.0f, "%u-%u: D3DXSHAdd() failed, got %f, expected 0.0\n", k, k * k, out[count]);
|
||||
ok(relative_error(out[count], 0.0f) < admitted_error, "%u-%u: D3DXSHAdd() failed, got %f, expected 0.0\n", k, k * k, out[count]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user