The current test image code has a constant size which is hardcoded to expect a scale factor of 2.0.
This PR changes the test image code to specify the logical size that the code actually uses, and then the platform code that actually generates the image and chooses the scale factor will also choose the proper image size.
Results remain unchanged for the scale factor of 2.0 but this reduces confusion and helps enable a future potential of doing snapshot testing with multiple different scale factors.
The current test image code has a constant size which is hardcoded to expect a scale factor of
2.0
.This PR changes the test image code to specify the logical size that the code actually uses, and then the platform code that actually generates the image and chooses the scale factor will also choose the proper image size.
Results remain unchanged for the scale factor of
2.0
but this reduces confusion and helps enable a future potential of doing snapshot testing with multiple different scale factors.