public string ScoreAgainstAnother(ScoreArray opponent) { for (int index = 0; index < _scores.Count; index++) { _myScore += opponent.EvaluateAgainstOpponent(_scores[index], index); } return(opponent.AppendScore($"{_myScore} ")); }
public void ShouldAppendScore() { // arrange ScoreArray scoreArray = new ScoreArray(new List <int>()); // act string actual = scoreArray.AppendScore(""); // assert actual.Should().Be("0"); }