Пример #1
0
        public void TestIndicesInColumn(int column, int[] expectedIndices)
        {
            List <int> actualIndicesInColumn = GridMath.GetIndicesInColumn(column);

            actualIndicesInColumn.Should().NotBeEmpty()
            .And.HaveCount(GridMath.CellsInColumn);

            foreach (int expectedIndex in expectedIndices)
            {
                actualIndicesInColumn.Should().Contain(expectedIndex);
            }
        }