Lines Matching refs:reporter

36 static bool are_equal(skiatest::Reporter* reporter,  in are_equal()  argument
52 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI); in are_equal()
55 REPORTER_ASSERT(reporter, foundZeroSignDiff); in are_equal()
66 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI); in are_equal()
69 REPORTER_ASSERT(reporter, foundNaN); in are_equal()
81 static void assert9(skiatest::Reporter* reporter, const SkMatrix& m, in assert9() argument
87 REPORTER_ASSERT(reporter, buffer[0] == a); in assert9()
88 REPORTER_ASSERT(reporter, buffer[1] == b); in assert9()
89 REPORTER_ASSERT(reporter, buffer[2] == c); in assert9()
90 REPORTER_ASSERT(reporter, buffer[3] == d); in assert9()
91 REPORTER_ASSERT(reporter, buffer[4] == e); in assert9()
92 REPORTER_ASSERT(reporter, buffer[5] == f); in assert9()
93 REPORTER_ASSERT(reporter, buffer[6] == g); in assert9()
94 REPORTER_ASSERT(reporter, buffer[7] == h); in assert9()
95 REPORTER_ASSERT(reporter, buffer[8] == i); in assert9()
98 static void test_set9(skiatest::Reporter* reporter) { in test_set9() argument
102 assert9(reporter, m, 1, 0, 0, 0, 1, 0, 0, 0, 1); in test_set9()
105 assert9(reporter, m, 2, 0, 0, 0, 3, 0, 0, 0, 1); in test_set9()
108 assert9(reporter, m, 2, 0, 4, 0, 3, 5, 0, 0, 1); in test_set9()
115 REPORTER_ASSERT(reporter, !m.isIdentity()); in test_set9()
117 REPORTER_ASSERT(reporter, m.isIdentity()); in test_set9()
120 static void test_matrix_recttorect(skiatest::Reporter* reporter) { in test_matrix_recttorect() argument
127 REPORTER_ASSERT(reporter, SkMatrix::kIdentity_Mask == matrix.getType()); in test_matrix_recttorect()
128 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
132 REPORTER_ASSERT(reporter, SkMatrix::kTranslate_Mask == matrix.getType()); in test_matrix_recttorect()
133 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
137 REPORTER_ASSERT(reporter, in test_matrix_recttorect()
139 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
144 REPORTER_ASSERT(reporter, SkMatrix::kScale_Mask == matrix.getType()); in test_matrix_recttorect()
145 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
148 static void test_flatten(skiatest::Reporter* reporter, const SkMatrix& m) { in test_flatten() argument
154 REPORTER_ASSERT(reporter, size1 == size2); in test_flatten()
155 REPORTER_ASSERT(reporter, size1 <= SkMatrixPriv::kMaxFlattenSize); in test_flatten()
159 REPORTER_ASSERT(reporter, size1 == size3); in test_flatten()
160 REPORTER_ASSERT(reporter, are_equal(reporter, m, m2)); in test_flatten()
164 REPORTER_ASSERT(reporter, size1 == size3); in test_flatten()
165 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0); in test_flatten()
168 static void test_matrix_min_max_scale(skiatest::Reporter* reporter) { in test_matrix_min_max_scale() argument
174 REPORTER_ASSERT(reporter, SK_Scalar1 == identity.getMinScale()); in test_matrix_min_max_scale()
175 REPORTER_ASSERT(reporter, SK_Scalar1 == identity.getMaxScale()); in test_matrix_min_max_scale()
177 REPORTER_ASSERT(reporter, success && SK_Scalar1 == scales[0] && SK_Scalar1 == scales[1]); in test_matrix_min_max_scale()
181 REPORTER_ASSERT(reporter, SK_Scalar1 * 2 == scale.getMinScale()); in test_matrix_min_max_scale()
182 REPORTER_ASSERT(reporter, SK_Scalar1 * 4 == scale.getMaxScale()); in test_matrix_min_max_scale()
184 … REPORTER_ASSERT(reporter, success && SK_Scalar1 * 2 == scales[0] && SK_Scalar1 * 4 == scales[1]); in test_matrix_min_max_scale()
189 REPORTER_ASSERT(reporter, SK_Scalar1 / 4 == rot90Scale.getMinScale()); in test_matrix_min_max_scale()
190 REPORTER_ASSERT(reporter, SK_Scalar1 / 2 == rot90Scale.getMaxScale()); in test_matrix_min_max_scale()
192 … REPORTER_ASSERT(reporter, success && SK_Scalar1 / 4 == scales[0] && SK_Scalar1 / 2 == scales[1]); in test_matrix_min_max_scale()
196 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, rotate.getMinScale(), SK_ScalarNearlyZer… in test_matrix_min_max_scale()
197 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, rotate.getMaxScale(), SK_ScalarNearlyZer… in test_matrix_min_max_scale()
199 REPORTER_ASSERT(reporter, success); in test_matrix_min_max_scale()
200 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, scales[0], SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
201 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, scales[1], SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
205 REPORTER_ASSERT(reporter, SK_Scalar1 == translate.getMinScale()); in test_matrix_min_max_scale()
206 REPORTER_ASSERT(reporter, SK_Scalar1 == translate.getMaxScale()); in test_matrix_min_max_scale()
208 REPORTER_ASSERT(reporter, success && SK_Scalar1 == scales[0] && SK_Scalar1 == scales[1]); in test_matrix_min_max_scale()
213 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspX.getMinScale()); in test_matrix_min_max_scale()
214 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspX.getMaxScale()); in test_matrix_min_max_scale()
216 REPORTER_ASSERT(reporter, !success); in test_matrix_min_max_scale()
224 REPORTER_ASSERT(reporter, !success); in test_matrix_min_max_scale()
232 REPORTER_ASSERT(reporter, success && 0 == scales[0]); in test_matrix_min_max_scale()
237 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspY.getMinScale()); in test_matrix_min_max_scale()
238 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspY.getMaxScale()); in test_matrix_min_max_scale()
242 …REPORTER_ASSERT(reporter, !success && -5 * SK_Scalar1 == scales[0] && -5 * SK_Scalar1 == scales[1… in test_matrix_min_max_scale()
250 REPORTER_ASSERT(reporter, invertible); in test_matrix_min_max_scale()
263 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
264 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale()
268 REPORTER_ASSERT(reporter, success == !mat.hasPerspective()); in test_matrix_min_max_scale()
269 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
293 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale()
294 REPORTER_ASSERT(reporter, minScale / d < gVectorScaleTol); in test_matrix_min_max_scale()
302 REPORTER_ASSERT(reporter, max / maxScale >= gCloseScaleTol); in test_matrix_min_max_scale()
303 REPORTER_ASSERT(reporter, minScale / min >= gCloseScaleTol); in test_matrix_min_max_scale()
307 static void test_matrix_preserve_shape(skiatest::Reporter* reporter) { in test_matrix_preserve_shape() argument
312 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
313 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
318 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
319 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
324 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
325 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
330 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
331 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
336 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
337 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
343 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
344 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
350 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
351 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
356 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
357 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
362 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
363 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
369 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
370 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
376 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
377 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
382 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
383 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
388 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
389 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
395 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
396 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
404 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
405 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
411 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
412 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
418 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
419 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
425 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
426 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
432 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
433 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
437 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
438 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
443 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
444 REPORTER_ASSERT(reporter, !mat.preservesRightAngles()); in test_matrix_preserve_shape()
450 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
451 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
457 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
458 REPORTER_ASSERT(reporter, mat.preservesRightAngles()); in test_matrix_preserve_shape()
506 static void test_matrix_decomposition(skiatest::Reporter* reporter) { in test_matrix_decomposition() argument
517 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
518 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
520 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, nullptr, nullptr, nullptr)); in test_matrix_decomposition()
524 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
525 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
529 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
530 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
534 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
535 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
540 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
541 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
546 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
547 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
552 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
553 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
558 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
559 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
564 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
565 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
570 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
571 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
576 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
577 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
582 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
583 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
589 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
590 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
596 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
597 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
603 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
604 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
618 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
623 REPORTER_ASSERT(reporter, SkScalarNearlyZero(perpdot)); in test_matrix_decomposition()
629 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
630 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
636 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
637 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
643 REPORTER_ASSERT(reporter, !SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
646 REPORTER_ASSERT(reporter, !SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
653 REPORTER_ASSERT(reporter, !SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
686 static void test_matrix_homogeneous(skiatest::Reporter* reporter) { in test_matrix_homogeneous() argument
722 REPORTER_ASSERT(reporter, point3_array_nearly_equal_relative(randTriples, dst, kTripleCount)); in test_matrix_homogeneous()
732 REPORTER_ASSERT(reporter, point3_array_nearly_equal_relative(&dst[i], &zeros, 1)); in test_matrix_homogeneous()
741 REPORTER_ASSERT(reporter, point3_array_nearly_equal_relative(&dst, &zeros, 1)); in test_matrix_homogeneous()
759 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fX, pnt.fX)); in test_matrix_homogeneous()
760 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fY, pnt.fY)); in test_matrix_homogeneous()
761 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fZ, SK_Scalar1)); in test_matrix_homogeneous()
773 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fX, pnt.fX)); in test_matrix_homogeneous()
774 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fY, pnt.fY)); in test_matrix_homogeneous()
775 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fZ, SK_Scalar1)); in test_matrix_homogeneous()
789 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fX, pnt.fX)); in test_matrix_homogeneous()
790 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fY, pnt.fY)); in test_matrix_homogeneous()
791 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.fZ, SK_Scalar1)); in test_matrix_homogeneous()
800 REPORTER_ASSERT(reporter, naive_homogeneous_mapping(mats[i], randTriples[j], dst)); in test_matrix_homogeneous()
859 static void test_decompScale(skiatest::Reporter* reporter) { in test_decompScale() argument
863 REPORTER_ASSERT(reporter, check_decompScale(m)); in test_decompScale()
865 REPORTER_ASSERT(reporter, check_decompScale(m)); in test_decompScale()
867 REPORTER_ASSERT(reporter, check_decompScale(m)); in test_decompScale()
870 REPORTER_ASSERT(reporter, !check_decompScale(m)); in test_decompScale()
874 REPORTER_ASSERT(reporter, check_decompScale(m)); in test_decompScale()
878 REPORTER_ASSERT(reporter, check_decompScale(m)); in test_decompScale()
881 DEF_TEST(Matrix, reporter) { in DEF_TEST() argument
886 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in DEF_TEST()
888 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
891 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in DEF_TEST()
893 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
894 test_flatten(reporter, mat); in DEF_TEST()
897 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in DEF_TEST()
899 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
900 test_flatten(reporter, mat); in DEF_TEST()
904 REPORTER_ASSERT(reporter, mat.invert(nullptr)); in DEF_TEST()
905 REPORTER_ASSERT(reporter, mat.invert(&inverse)); in DEF_TEST()
907 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
909 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()
910 test_flatten(reporter, mat); in DEF_TEST()
911 test_flatten(reporter, iden2); in DEF_TEST()
914 REPORTER_ASSERT(reporter, !mat.invert(nullptr)); in DEF_TEST()
915 REPORTER_ASSERT(reporter, !mat.invert(&inverse)); in DEF_TEST()
917 REPORTER_ASSERT(reporter, !mat.invert(nullptr)); in DEF_TEST()
918 REPORTER_ASSERT(reporter, !mat.invert(&inverse)); in DEF_TEST()
924 REPORTER_ASSERT(reporter, !mat.invert(nullptr)); in DEF_TEST()
925 REPORTER_ASSERT(reporter, !mat.invert(&inverse)); in DEF_TEST()
960 REPORTER_ASSERT(reporter, in DEF_TEST()
973 REPORTER_ASSERT(reporter, mat.asAffine(affine)); in DEF_TEST()
976 REPORTER_ASSERT(reporter, affineEqual(ScaleX)); in DEF_TEST()
977 REPORTER_ASSERT(reporter, affineEqual(SkewY)); in DEF_TEST()
978 REPORTER_ASSERT(reporter, affineEqual(SkewX)); in DEF_TEST()
979 REPORTER_ASSERT(reporter, affineEqual(ScaleY)); in DEF_TEST()
980 REPORTER_ASSERT(reporter, affineEqual(TransX)); in DEF_TEST()
981 REPORTER_ASSERT(reporter, affineEqual(TransY)); in DEF_TEST()
985 REPORTER_ASSERT(reporter, !mat.asAffine(affine)); in DEF_TEST()
992 REPORTER_ASSERT(reporter, are_equal(reporter, mat, mat2)); in DEF_TEST()
998 REPORTER_ASSERT(reporter, !are_equal(reporter, mat, mat2)); in DEF_TEST()
1000 test_matrix_min_max_scale(reporter); in DEF_TEST()
1001 test_matrix_preserve_shape(reporter); in DEF_TEST()
1002 test_matrix_recttorect(reporter); in DEF_TEST()
1003 test_matrix_decomposition(reporter); in DEF_TEST()
1004 test_matrix_homogeneous(reporter); in DEF_TEST()
1005 test_set9(reporter); in DEF_TEST()
1007 test_decompScale(reporter); in DEF_TEST()
1012 REPORTER_ASSERT(reporter, mat == mat2); in DEF_TEST()