I agree with your comments.
Ill extend this patch with more tests, like non-1channel textures and other corner cases.
Also I will detail more on the logic behind the arguments used for the test.
Regarding the D3DPTEXTURECAPS_POW2, I just wanted to be sure those textures are supported,
but if you think is not needed ill remove it in the next version.
And I can try to draft a DF16/DF24 tests. However I did not think it was necessary
since the depth formats are very similar to other depth formats in wine.
And there is 1:1 mapping between those depth formats. (DF16 -> D16, DF24 -> D24S8)
(unless there is a difference in precision or int/float used for storage,
but that is not detailed in the spec)