public void testScale2x() { execute(); Rectangle expected = new Rectangle(_rectangle.Width * 2, _rectangle.Height * 2); Rectangle result = TransformationsBad.Scale(_rectangle, 2); Compare(expected, result); }
public void testRotation90() { execute(); Rectangle expected = new Rectangle(20, 10); Rectangle result = TransformationsBad.Rotate90(_rectangle); Compare(expected, result); }