public void ReturnSimpleMatchResult_GivenStaticBots()
        {
            MatchResult matchResult = _matchRunner.RunMatch(_rockOnly, _scissorsOnly);

            matchResult.Winner.Should().Be(_rockOnly);
            matchResult.Loser.Should().Be(_scissorsOnly);
            matchResult.RoundResults.Count.Should().Be(1000);
        }
Beispiel #2
0
        public void ReturnSimpleMatchResult_GivenStaticBots()
        {
            MatchResult matchResult = _matchRunner.RunMatch(_rockOnly, _scissorsOnly);

            matchResult.Player1.Should().Be(_rockOnly.Competitor);
            matchResult.Player2.Should().Be(_scissorsOnly.Competitor);
            matchResult.WinningPlayer.Should().Be(MatchOutcome.Player1);
            matchResult.RoundResults.Count.Should().Be(100);
        }