public void ShouldScoreBothSides() { //arrange int a0 = 1; int a1 = 3; int a2 = 5; int b0 = 4; int b1 = 3; int b2 = 1; string expectedOutcome = "1 1"; CompareTriplets compare = new CompareTriplets(a0, a1, a2, b0, b1, b2); //act string score = compare.Outcome(); //assert score.Should().Be(expectedOutcome); }
public void ShouldScoreBothTied() { //arrange int a0 = 0; int a1 = 0; int a2 = 0; int b0 = 0; int b1 = 0; int b2 = 0; string expectedOutcome = "0 0"; CompareTriplets compare = new CompareTriplets(a0, a1, a2, b0, b1, b2); //act string score = compare.Outcome(); //assert score.Should().Be(expectedOutcome); }
public void ShouldScoreWinnerB() { //arrange int a0 = 1; int a1 = 2; int a2 = 3; int b0 = 4; int b1 = 5; int b2 = 6; string expectedOutcome = "0 3"; CompareTriplets compare = new CompareTriplets(a0, a1, a2, b0, b1, b2); //act string score = compare.Outcome(); //assert score.Should().Be(expectedOutcome); }