Lines Matching refs:REPORTER_ASSERT
36 REPORTER_ASSERT(reporter, data[0] == m0);
37 REPORTER_ASSERT(reporter, data[1] == m1);
38 REPORTER_ASSERT(reporter, data[2] == m2);
39 REPORTER_ASSERT(reporter, data[3] == m3);
41 REPORTER_ASSERT(reporter, data[4] == m4);
42 REPORTER_ASSERT(reporter, data[5] == m5);
43 REPORTER_ASSERT(reporter, data[6] == m6);
44 REPORTER_ASSERT(reporter, data[7] == m7);
46 REPORTER_ASSERT(reporter, data[8] == m8);
47 REPORTER_ASSERT(reporter, data[9] == m9);
48 REPORTER_ASSERT(reporter, data[10] == m10);
49 REPORTER_ASSERT(reporter, data[11] == m11);
51 REPORTER_ASSERT(reporter, data[12] == m12);
52 REPORTER_ASSERT(reporter, data[13] == m13);
53 REPORTER_ASSERT(reporter, data[14] == m14);
54 REPORTER_ASSERT(reporter, data[15] == m15);
95 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix);
96 REPORTER_ASSERT(reporter, !testMatrix->isIdentity());
99 REPORTER_ASSERT(reporter, nearly_equal_double(row * col, testMatrix->getDouble(row, col)));
106 REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix);
107 REPORTER_ASSERT(reporter, testMatrix->isIdentity());
108 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I());
115 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kIdentity_Mask));
117 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kTranslate_Mask));
118 REPORTER_ASSERT(reporter, mat.invert(&inverse));
119 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kTranslate_Mask));
128 REPORTER_ASSERT(reporter, mat == c);
133 REPORTER_ASSERT(reporter, mat == c);
140 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kIdentity_Mask));
142 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kScale_Mask));
143 REPORTER_ASSERT(reporter, mat.invert(&inverse));
144 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kScale_Mask));
153 REPORTER_ASSERT(reporter, mat == c);
158 REPORTER_ASSERT(reporter, mat == c);
199 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]);
215 REPORTER_ASSERT(reporter, matrix.isIdentity());
216 REPORTER_ASSERT(reporter, SkMatrix44::kIdentity_Mask == matrix.getType());
222 REPORTER_ASSERT(reporter, matrix.getType() == expectedMask);
226 REPORTER_ASSERT(reporter, matrix.getType() == expectedMask);
230 REPORTER_ASSERT(reporter, matrix.getType() == expectedMask);
233 REPORTER_ASSERT(reporter, matrix.getType() & SkMatrix44::kPerspective_Mask);
240 REPORTER_ASSERT(reporter, matrix.isIdentity());
242 REPORTER_ASSERT(reporter, matrix.isIdentity());
244 REPORTER_ASSERT(reporter, matrix.isIdentity());
255 REPORTER_ASSERT(reporter, rot3x3.rectStaysRect());
276 REPORTER_ASSERT(reporter, d == c);
280 REPORTER_ASSERT(reporter, 10 == dst[i]);
281 REPORTER_ASSERT(reporter, 12 == dst[i + 4]);
288 REPORTER_ASSERT(reporter, d == c);
292 REPORTER_ASSERT(reporter, 20 == dst[i]);
293 REPORTER_ASSERT(reporter, 22 == dst[i + 4]);
299 REPORTER_ASSERT(reporter, nearly_equal_double(1, a.determinant()));
301 REPORTER_ASSERT(reporter, nearly_equal_double(2, a.determinant()));
303 REPORTER_ASSERT(reporter, a.invert(&b));
304 REPORTER_ASSERT(reporter, nearly_equal_double(0.5, b.determinant()));
308 REPORTER_ASSERT(reporter,
313 REPORTER_ASSERT(reporter, nearly_equal_double(16, d.determinant()));
317 REPORTER_ASSERT(reporter, nearly_equal_double(32, e.determinant()));
319 REPORTER_ASSERT(reporter, nearly_equal_double(0, e.determinant()));
335 REPORTER_ASSERT(reporter, nearly_equal(a, b));
343 REPORTER_ASSERT(reporter,
347 REPORTER_ASSERT(reporter,
365 REPORTER_ASSERT(reporter, nearly_equal(a, b));
368 REPORTER_ASSERT(reporter, nearly_equal(a, b));
371 REPORTER_ASSERT(reporter, nearly_equal(a, b));
374 REPORTER_ASSERT(reporter, nearly_equal(a, b));
384 REPORTER_ASSERT(reporter, is_identity(iden1));
389 REPORTER_ASSERT(reporter, is_identity(iden1));
394 REPORTER_ASSERT(reporter, is_identity(iden1));
399 REPORTER_ASSERT(reporter, mat.invert(NULL));
402 REPORTER_ASSERT(reporter, is_identity(iden1));
404 REPORTER_ASSERT(reporter, is_identity(iden2));