Example #1
0
        public void WhenScoreIsUpdatedUserShouldHaveCumulativeScore(int score1, int score2, int score3, int expectedScore)
        {
            _roomHelper.AddToScore(score1);
            _roomHelper.AddToScore(score2);
            _roomHelper.AddToScore(score3);

            Rooms.RoomsList[_roomName].Users[name].Score.Should().Be(expectedScore);
        }