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 ShouldScoreArrayNonZeroTie() { ScoreArray scoreA = new ScoreArray(new List <int> { 6, 6, 6 }); ScoreArray scoreB = new ScoreArray(new List <int> { 3, 6, 10 }); string actual = scoreA.ScoreAgainstAnother(scoreB); actual.Should().Be("1 1"); }
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"); }