commit | 2dcb615c6f4822352cac1ef4dc20303ebd1ad171 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Tue Jul 05 20:10:42 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jul 05 20:10:42 2016 -0700 |
tree | 68323767dfdd1ad42de8ed58d727e19b4f8b5289 | |
parent | ec7f2ac7285ad9b1ea84e7aa68a741ae2a07a777 [diff] [blame] |
make setScaleTranslate public BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2122093002 TBR= Review-Url: https://codereview.chromium.org/2122093002
diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp index 01b2ba4..c4eb9c7 100644 --- a/tests/MatrixTest.cpp +++ b/tests/MatrixTest.cpp
@@ -939,6 +939,11 @@ test_set9(reporter); test_decompScale(reporter); + + mat.setScaleTranslate(2, 3, 1, 4); + mat2.setScale(2, 3); + mat2.postTranslate(1, 4); + REPORTER_ASSERT(reporter, mat == mat2); } DEF_TEST(Matrix_Concat, r) {