Beispiel #1
0
        public void GetFallPositionTest()
        {
            Player_Accessor target = new Player_Accessor();

            int[,] piece = target._Pieces['s'];
            piece        = target.RotatePiece(piece, 1);
            int actual;

            actual = target.GetFallPosition(_TestBoard, piece, 0);
            Assert.AreEqual(4, actual);
        }
Beispiel #2
0
        public void GetFallPositionTest()
        {
            Player_Accessor target = new Player_Accessor();

            int[,] piece = target._Pieces['s'];
            piece = target.RotatePiece(piece, 1);
            int actual;
            actual = target.GetFallPosition(_TestBoard, piece, 0);
            Assert.AreEqual(4, actual);
        }