예제 #1
0
        public void NextRotationYCorrectValueTest()
        {
            _shapeI = new ShapeI();
            int expected = _shapeI.Y + 1;
            int actual   = _shapeI.NextRotationY();

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void NextRotationYIncorrectValueTest()
        {
            _shapeI          = new ShapeI();
            _shapeI.Rotation = 2;
            int expected = 1;
            int actual   = _shapeI.NextRotationY();

            Assert.AreNotEqual(expected, actual);
        }