public void xOfAKind_Test_ReturnsZero() { // Arrange var scorer = new GameScorerHelper(new[] { 1, 3, 4, 2, 3 }); //Act var score = scorer.xOfAKind(3); //Assert Assert.AreEqual(0, score); }
public void xOfAKind_Test() { // Arrange var scorer = new GameScorerHelper(new[] { 1, 3, 3, 2, 3 }); //Act var score = scorer.xOfAKind(3); //Assert Assert.AreEqual(12, score); }