public void ConvertNumberToRomanNumeral_NineHundredToCM() { int input = 900; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("CM", output); }
public void ConvertNumberToRomanNumeral_OneThousandToM() { int input = 1000; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("M", output); }
public void ConvertNumberToRomanNumeral_FourHundredTwentyEightToCDXXVIII() { int input = 428; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("CDXXVIII", output); }
public void ConvertNumberToRomanNumeral_FiveHundredToD() { int input = 500; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("D", output); }
public void ConvertNumberToRomanNumeral_TwoHundredFiftySixtoCCLVI() { int input = 256; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("CCLVI", output); }
public void ConvertNumberToRomanNumeral_ThreeHundredEightyNineToCCCLXXXIX() { int input = 389; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("CCCLXXXIX", output); }
public void ConvertNumberToRomanNumeral_OneHundredSixtySevenToCLXVII() { int input = 167; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("CLXVII", output); }
public void ConvertNumberToRomanNumeral_NinetyToXC() { int input = 90; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("XC", output); }
public void ConvertNumberToRomanNumeral_FortyTwoToXLII() { int input = 42; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("XLII", output); }
public void ConvertNumberToRomanNumeral_OneToI() { int input = 1; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("I", output); }
public void ConvertNumberToRomanNumeral_TwoThousandSixHundredThirtyNineToMMDCXXXIX() { int input = 2639; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("MMDCXXXIX", output); }
public void ConvertNumberToRomanNumeral_TwentyEightToXXVIII() { int input = 28; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("XXVIII", output); }
public void ConvertNumberToRomanNumeral_TenToX() { int input = 10; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("X", output); }
public void ConvertNumberToRomanNumeral_ThirtyTwoToXXXII() { int input = 32; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("XXXII", output); }
public void ConvertNumberToRomanNumeral_EightToVIII() { int input = 8; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("VIII", output); }
public void ConvertNumberToRomanNumeral_NineToIX() { int input = 9; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("IX", output); }
public void ConvertNumberToRomanNumeral_FourToIV() { int input = 4; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("IV", output); }
public void ConvertNumberToRomanNumeral_FiveToV() { int input = 5; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("V", output); }
public void ConvertNumberToRomanNumeral_ThreeToIII() { int input = 3; string output = RomanNumerals.ConvertNumberToRomanNumeral(input); Assert.Equal("III", output); }
public void ConvertNumberToRomanNumeral_Zero_ThrowsNullException() { int input = 0; Assert.Throws <ArgumentException>(() => { RomanNumerals.ConvertNumberToRomanNumeral(input); }); }
public void ConvertNumberToRomanNumeral_FourThousandFortyTwo_ThrowsOutOfRangeException() { int input = 4042; Assert.Throws <ArgumentOutOfRangeException>(() => { RomanNumerals.ConvertNumberToRomanNumeral(input); }); }
public void ConvertNumberToRomanNumeral_NegativeFour_ThrowsOutOfRangeException() { int input = -4; Assert.Throws <ArgumentOutOfRangeException>(() => { RomanNumerals.ConvertNumberToRomanNumeral(input); }); }
public void ConvertNumberToRomanNumeral_BeyondUpperLimit_ThrowsOutOfRangeException() { int input = 4000; Assert.Throws <ArgumentOutOfRangeException>(() => { RomanNumerals.ConvertNumberToRomanNumeral(input); }); }