Пример #1
0
        public void DetectLossCorrectlyForHorizantalXInput3(Moves[] input, Moves mockLastMove = Moves.None)
        {
            var what = WinChecker.HasWon(input, mockLastMove);

            what.Should().BeFalse();
        }
Пример #2
0
        public void DetectWinCorrectlyFoDiagonalOInput2(Moves[] input, Moves mockLastMove = Moves.None)
        {
            var what = WinChecker.HasWon(input, mockLastMove);

            what.Should().BeTrue();
        }
Пример #3
0
        public void DetectWinCorrectlyForHorizantalOInputFirstThree(Moves[] input, Moves mockLastMove = Moves.None)
        {
            var what = WinChecker.HasWon(input, mockLastMove);

            what.Should().BeTrue();
        }
Пример #4
0
        public void DetectLossCorrectlyFoVerticalMixedInput(Moves[] input, Moves mockLastMove = Moves.None)
        {
            var what = WinChecker.HasWon(input, mockLastMove);

            what.Should().BeFalse();
        }