+ auto const border = 150; //must match the border value in clip_to_display()
Redundant comment? If the production code changes, the test will tell us when run.
nit:
+ if ((screen_width < requested_size.width.as_uint32_t()+border) ||
+ (screen_height < requested_size.height.as_uint32_t()+border))
spaces between +
+ auto const border = 150; //must match the border value in clip_to_display()
Redundant comment? If the production code changes, the test will tell us when run.
nit: size.width. as_uint32_ t()+border) || size.height. as_uint32_ t()+border) )
+ if ((screen_width < requested_
+ (screen_height < requested_
spaces between +