コード例 #1
0
        public void TestMoveRight()
        {
            int[,] field =
            {
                { 1, 0, 1 },
                { 0, 0, 0 },
                { 2, 2, 2 }
            };

            MoveHandler.MoveRowRight(field, 0);
            field.Should().BeEquivalentTo(new[, ]
            {
                { 0, 0, 2 },
                { 0, 0, 0 },
                { 2, 2, 2 }
            });
        }