diff options
Diffstat (limited to 'tests/MatrixTest.cpp')
-rw-r--r-- | tests/MatrixTest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp index 01b2ba4e43..c4eb9c7011 100644 --- a/tests/MatrixTest.cpp +++ b/tests/MatrixTest.cpp @@ -939,6 +939,11 @@ DEF_TEST(Matrix, reporter) { 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) { |