17 for (
const SkRect& r : fRects) {
18 if (r.intersects(rect)) {
22 fRects.push_back(rect);
27 std::vector<SkRect> fRects;
30#define CHECK(A) REPORTER_ASSERT(reporter, A)
37 for (
int i = 0; i < 1000; ++i) {
42 CHECK(tree.
add(rect) == simpleTree.
add({rect.left(),
51 for (
int i = 0; i < 100; ++i) {
56 CHECK(tree.
add(rect) == simpleTree.
add({rect.left(),
#define DEF_GRAPHITE_TEST(name, reporter, ctsEnforcement)
float nextRangeF(float min, float max)
static AI Rect XYWH(float x, float y, float w, float h)
static AI Rect WH(float w, float h)
static AI Rect Infinite()