Пример #1
0
        public void WheelYChangeTest()
        {
            _shapeI = new ShapeI();
            int oldY = _shapeI.Y;

            _shapeI.Wheel();
            int newY = _shapeI.Y;

            Assert.IsTrue(oldY < newY);
        }
Пример #2
0
        public void WheelXChangeTest()
        {
            _shapeI = new ShapeI();
            int oldX = _shapeI.X;

            _shapeI.Wheel();
            int newX = _shapeI.X;

            Assert.IsTrue(oldX > newX);
        }