public void ShouldScoreArraySelfWinner() { ScoreArray scoreA = new ScoreArray(new List <int> { 6, 6, 6 }); ScoreArray scoreB = new ScoreArray(new List <int> { 3, 4, 5 }); string actual = scoreA.ScoreAgainstAnother(scoreB); actual.Should().Be("3 0"); }
public void ShouldScoreArrayOtherWinnerWith2() { ScoreArray scoreA = new ScoreArray(new List <int> { 24, 1, 0 }); ScoreArray scoreB = new ScoreArray(new List <int> { 3, 4, 5 }); string actual = scoreA.ScoreAgainstAnother(scoreB); actual.Should().Be("1 2"); }
public void ShouldScoreArrayTie() { ScoreArray scoreA = new ScoreArray(new List <int> { 6, 6, 6 }); ScoreArray scoreB = new ScoreArray(new List <int> { 6, 6, 6 }); string actual = scoreA.ScoreAgainstAnother(scoreB); actual.Should().Be("0 0"); }