コード例 #1
0
        public void getColumn_returns_row()
        {
            var n = new Nonogram(ColumnCount, RowCount);

            for (int i = 0; i < ColumnCount; i++)
            {
                var row = n.getColumn(i);
                for (int j = 0; j < RowCount; j++)
                {
                    Assert.Same(n.Cells[j][i], row[j]);
                }
            }
        }