예제 #1
0
        public void IsWinLine_WithFourStonesWithTheSameSizeButNothingElseInCommon_ReturnsTrue()
        {
            var winLine = new[]
            {
                new Stone(Size.High, Surface.Flat, Color.Black, Shape.Round),
                new Stone(Size.High, Surface.Hole, Color.Black, Shape.Round),
                new Stone(Size.High, Surface.Flat, Color.White, Shape.Round),
                new Stone(Size.High, Surface.Flat, Color.Black, Shape.Square),
            };
            var result = GameStateBase.IsWinLine(winLine);

            result.Should().BeTrue();
        }