using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VasysRomanNumeralsKata;

namespace VasysRomanNumeralsKataTest
{
    [TestClass]
    public class ToRomanNumeralsTest
    {
        [TestMethod]
        public void WhenRomanNumeralExtensionIsPassedTenItReturnsX()
        {
            int ten = 10;
            Assert.IsTrue(ten.ToRomanNumeral() == "X");
        }

        [TestMethod]
        public void WhenRomanNumeralExtensionIsPassedNumbersDivisibleByOneHundredItReturnsARomanNumeral()
        {
            int oneThousand = 1000;
            Assert.IsTrue(oneThousand.ToRomanNumeral() == "M");
            int nineHundred = 900;
            Assert.IsTrue(nineHundred.ToRomanNumeral() == "CM");
            int fiveHundred = 500;
            Assert.IsTrue(fiveHundred.ToRomanNumeral() == "D");
            int fourHundred = 400;
            Assert.IsTrue(fourHundred.ToRomanNumeral() == "CD");
            int oneHundred = 100;
            Assert.IsTrue(oneHundred.ToRomanNumeral() == "C");
            int twoHundred = 200;
            Assert.IsTrue(twoHundred.ToRomanNumeral() == "CC");
            int threeHundred = 300;
            Assert.IsTrue(threeHundred.ToRomanNumeral() == "CCC");
        }
    }
}

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VasysRomanNumeralsKata;

namespace VasysRomanNumeralsKataTest
{
    [TestClass]
    public class ToRomanNumeralsTest
    {
        [TestMethod]
        public void WhenRomanNumeralExtensionIsPassedTenItReturnsX()
        {
            int ten = 10;
            Assert.IsTrue(ten.ToRomanNumeral() == "X");
        }

        [TestMethod]
        public void WhenRomanNumeralExtensionIsPassedNumbersDivisibleByOneHundredItReturnsARomanNumeral()
        {
            int oneThousand = 1000;
            Assert.IsTrue(oneThousand.ToRomanNumeral() == "M");
            int nineHundred = 900;
            Assert.IsTrue(nineHundred.ToRomanNumeral() == "CM");
            int fiveHundred = 500;
            Assert.IsTrue(fiveHundred.ToRomanNumeral() == "D");
            int fourHundred = 400;
            Assert.IsTrue(fourHundred.ToRomanNumeral() == "CD");
            int oneHundred = 100;
            Assert.IsTrue(oneHundred.ToRomanNumeral() == "C");
            int twoHundred = 200;
            Assert.IsTrue(twoHundred.ToRomanNumeral() == "CC");
            int threeHundred = 300;
            Assert.IsTrue(threeHundred.ToRomanNumeral() == "CCC");
            int twoThousand = 2000;
            Assert.IsTrue(twoThousand.ToRomanNumeral() == "MM");
        }
    }
}

Add test for 2000 (MM) - this should have been done before adding loop for M.
Add test for 2000 (MM) - this should have been done before adding loop for M.
