diff --git a/src/Magnum/Math/Test/Matrix3Test.cpp b/src/Magnum/Math/Test/Matrix3Test.cpp index cee24bf05..c68dbd2b3 100644 --- a/src/Magnum/Math/Test/Matrix3Test.cpp +++ b/src/Magnum/Math/Test/Matrix3Test.cpp @@ -525,6 +525,7 @@ void Matrix3Test::scalingPart() { Matrix3::scaling({0.5f, 3.5f}); CORRADE_COMPARE(translationRotationScaling.scaling(), (Vector2{0.5f, 3.5f})); + CORRADE_COMPARE(translationRotationScaling.scalingSquared(), (Vector2{0.25f, 12.25f})); } void Matrix3Test::uniformScalingPart() { diff --git a/src/Magnum/Math/Test/Matrix4Test.cpp b/src/Magnum/Math/Test/Matrix4Test.cpp index 8f40e804b..f6a46334d 100644 --- a/src/Magnum/Math/Test/Matrix4Test.cpp +++ b/src/Magnum/Math/Test/Matrix4Test.cpp @@ -713,6 +713,7 @@ void Matrix4Test::scalingPart() { Matrix4::scaling({0.5f, 3.5f, 1.2f}); CORRADE_COMPARE(translationRotationScaling.scaling(), (Vector3{0.5f, 3.5f, 1.2f})); + CORRADE_COMPARE(translationRotationScaling.scalingSquared(), (Vector3{0.25f, 12.25f, 1.44f})); } void Matrix4Test::uniformScalingPart() {