Exemple #1
0
        public void TestScale()
        {
            var factor = new CGSize(500, 600);
            var result = _rect.Scale(factor);

            AssertUtilsIOS.AreEqualCGRect(
                new CGRect(_rect.X * factor.Width, _rect.Y * factor.Height, _rect.Width * factor.Width,
                           _rect.Height * factor.Height), result);
        }