7 SkRect tests[] = {{20, 40, 10, 50}, {20, 40, 20, 50}};
8 for (
auto rect :
tests) {
9 SkDebugf(
"rect: {%g, %g, %g, %g} is" "%s empty\n", rect.left(), rect.top(), rect.right(),
10 rect.bottom(), rect.isEmpty() ?
"" :
" not");
12 SkDebugf(
"sorted: {%g, %g, %g, %g} is" "%s empty\n", rect.left(), rect.top(), rect.right(),
13 rect.bottom(), rect.isEmpty() ?
"" :
" not");