public void ShiftTile()
        {
            int boardWidth = 2, boardHeight = 2;

            var board = new MinesFieldBoard(new MockRenderer());

            board.Create(boardWidth, boardHeight);

            board.SetLiveBlock(0, 0);
            Assert.True(board.GetLiveBlock().GetId() == "A1");

            board.BlockRight();
            Assert.True(board.GetLiveBlock().GetId() == "B1");

            board.BlockUp();
            Assert.True(board.GetLiveBlock().GetId() == "B2");

            board.BlockLeft();
            Assert.True(board.GetLiveBlock().GetId() == "A2");

            board.BlockDown();
            Assert.True(board.GetLiveBlock().GetId() == "A1");
        }
        public void Setup()
        {
            int boardWidth = 8, boardHeight = 8;
            var board = new MinesFieldBoard(new MockRenderer());

            board.Create(boardWidth, boardHeight);
            var activeTile = board.GetLiveBlock();
            var finishTile = board.GetFinishedBlock();

            Assert.Equal(typeof(Block), activeTile.GetType());
            Assert.Equal(0, activeTile.GetYCord());
            Assert.True(activeTile.GetXCord() >= 0 && activeTile.GetXCord() < boardWidth);

            Assert.Equal(typeof(FinishBlock), finishTile.GetType());
            Assert.Equal(boardHeight - 1, finishTile.GetYCord());
            Assert.True(finishTile.GetXCord() >= 0 && finishTile.GetXCord() < boardWidth);
        }