public void DIsAlwaysIllegalLowerNumber(string romanNumeral)
 {
     Assert.Throws <ArgumentException>(() => RomanNumeralConverter.ConvertToDecimal(romanNumeral));
 }
        public void SmallerNumberDeductsFromSubsequentLargerNumber(string romanNumeral, int decimalEquivalent)
        {
            var actual = RomanNumeralConverter.ConvertToDecimal(romanNumeral);

            Assert.Equal(decimalEquivalent, actual);
        }
        public void TheComplexCases(string romanNumeral, int decimalEquivalent)
        {
            var actual = RomanNumeralConverter.ConvertToDecimal(romanNumeral);

            Assert.Equal(decimalEquivalent, actual);
        }
 public void NumberBeforeDeductionPairMustBeGreaterThanOrEqualToBiggerNumber(string romanNumeral)
 {
     Assert.Throws <ArgumentException>(() => RomanNumeralConverter.ConvertToDecimal(romanNumeral));
 }
        public void MultipleCharacterTests(string romanNumeral, int decimalEquivalent)
        {
            var actual = RomanNumeralConverter.ConvertToDecimal(romanNumeral);

            Assert.Equal(decimalEquivalent, actual);
        }
        public void SpecifiedCasesInProblemStatement(int decimalNumber, string expectedRomanNumeral)
        {
            var actual = RomanNumeralConverter.ConvertToRomanNumerals(decimalNumber);

            Assert.Equal(expectedRomanNumeral, actual);
        }
        public void LeftToRightCases(int decimalNumber, string expectedRomanNumeral)
        {
            var actual = RomanNumeralConverter.ConvertToRomanNumerals(decimalNumber);

            Assert.Equal(expectedRomanNumeral, actual);
        }
        public void DeductionCharactersWorkCorrectly(int decimalNumber, string expectedRomanNumeral)
        {
            var actual = RomanNumeralConverter.ConvertToRomanNumerals(decimalNumber);

            Assert.Equal(expectedRomanNumeral, actual);
        }
 public void ThrowIfDecimalExceedsMaximum()
 {
     Assert.Throws <ArgumentException>(() => RomanNumeralConverter.ConvertToRomanNumerals(4000));
 }
        public void ShouldConvertSingleLetterEquivalents(int decimalNumber, string expectedRomanNueral)
        {
            var actual = RomanNumeralConverter.ConvertToRomanNumerals(decimalNumber);

            Assert.Equal(expectedRomanNueral, actual);
        }