public void Allow_Movement_When_Moving_Full_Board_Right()
        {
            var   board = Create8By8Board();
            var   piece = Substitute.For <IChessPiece>();
            IRule rule  = new MustMoveInStraightLineRule();

            Move move = new Move(piece, 0, 0, board.Width - 1, 0);

            Assert.That(rule.IsMoveValid(board, move), Is.True);
        }
        public void Prevent_Movement_When_Moving_Two_Right_One_Down()
        {
            var   board = Create8By8Board();
            var   piece = Substitute.For <IChessPiece>();
            IRule rule  = new MustMoveInStraightLineRule();

            Move move = new Move(piece, 0, 1, 2, 0);

            Assert.That(rule.IsMoveValid(board, move), Is.False);
        }