public void RotateLeftTest() { for (int i = 0; i < 7; i++) { int x = 4 * _width; int y = 4 * _width; Figure figure = new Figure(i, _canvas, _width, _width, _width); figure.SetLocation(x, y); int width = figure.Width; MovementHelper.RotateRight(figure, _canvas); Assert.IsTrue(x == figure.Left); Assert.IsTrue(y == figure.Top); Assert.IsTrue(figure.Height == width); _canvas.Children.Clear(); } }