public void ValidateInvalidFourOfAKind()
        {
            var dice = _testDieFactory.CreateDieEnumerable(new[] { 1, 3, 5, 2, 5 });

            DiceOfAKindValidator diceOfAKindValidator = new DiceOfAKindValidator();
            bool result = diceOfAKindValidator.IsValid(4, dice);
            result.Should().BeFalse();
        }
        public void DiceOfAKindValidator_ValidThreeOfAKindSet_ReturnsTrue()
        {
            var dice =  _testDieFactory.CreateDieEnumerable(new[] { 3, 4, 3, 5, 3 });

            DiceOfAKindValidator diceOfAKindValidator = new DiceOfAKindValidator();
            bool result = diceOfAKindValidator.IsValid(3, dice);
            result.Should().BeTrue();
        }
        public void ValidateFourOfAKind()
        {
            var dice = _testDieFactory.CreateDieEnumerable(new[] { 2, 2, 6, 2, 2 });

            DiceOfAKindValidator diceOfAKindValidator = new DiceOfAKindValidator();
            bool result = diceOfAKindValidator.IsValid(4, dice);
            result.Should().BeTrue();
        }
        public void DiceOfAKindValidator_InvalidFiveOfAKindSet_ReturnsFalse()
        {
            var dice = _testDieFactory.CreateDieEnumerable(new[] { 3, 3, 3, 3, 6 });

            DiceOfAKindValidator diceOfAKindValidator = new DiceOfAKindValidator();
            bool result = diceOfAKindValidator.IsValid(5, dice);
            result.Should().BeFalse();
        }
        public void ValidateInvalidThreeOfAKind()
        {
            var dice = _testDieFactory.CreateDieEnumerable(new[] { 3, 1, 5, 3, 4 });

            DiceOfAKindValidator diceOfAKindValidator = new DiceOfAKindValidator();
            bool result = diceOfAKindValidator.IsValid(3, dice);
            result.Should().BeFalse();
        }