Пример #1
0
        public void Test_CheckStraightLine()
        {
            var grid = new int[6][];

            grid[0] = new int[] { 1, 1 };
            grid[1] = new int[] { 2, 2 };
            grid[2] = new int[] { 3, 4 };
            grid[3] = new int[] { 4, 5 };
            grid[4] = new int[] { 5, 6 };
            grid[5] = new int[] { 7, 7 };
            var actual = sut.CheckStraightLine(grid);

            Assert.False(actual);
        }