Esempio n. 1
0
        public void CalculateNewSize()
        {
            var oldS   = new Size(10, 15);
            var factor = 3f;

            var newS = PaintHelper.CalculateNewSize(oldS, factor);

            newS.ShouldBeEquivalentTo(new Size(30, 45));
        }