コード例 #1
0
        public void Should_return_null(GameData gameData)
        {
            var subject = new GameResultService();

            var actual = subject.GetResult(gameData);

            actual.Should().BeNull();
        }
コード例 #2
0
        public void Should_return_player_one_win(GameData gameData, Result result)
        {
            var subject = new GameResultService();

            var actual = subject.GetResult(gameData);

            actual.Should().Be(result);
        }