示例#1
0
        public static IEnumerable <object[]> TestData()
        {
            var grid = GridFactory.Produce(new[]
            {
                "S 1 1",
                "1 W 1",
                "1 1 F"
            }, GridType.Horizontal);

            yield return(new object[] { grid, grid[0, 0], new Position[] { new(0, 1), new(1, 0) } });