public void SolutionTest9()
        {
            var expected = "MMXIV";
            var actural  = 2014;

            Assert.AreEqual(expected, RomanConvert.Solution(actural));
        }
        public void SolutionTest10()
        {
            var expected = "MCCCXCI";
            var actural  = 1391;

            Assert.AreEqual(expected, RomanConvert.Solution(actural));
        }
        public void SolutionTest8()
        {
            var expected = "MMVIII";
            var actural  = 2008;

            Assert.AreEqual(expected, RomanConvert.Solution(actural));
        }
        public void SolutionTest7()
        {
            var expected = "MCMXC";
            var actural  = 1990;

            Assert.AreEqual(expected, RomanConvert.Solution(actural));
        }
        public void SolutionTest6()
        {
            var expected = "MCMLIV";
            var actural  = 1954;

            Assert.AreEqual(expected, RomanConvert.Solution(actural));
        }
        public void SolutionTest5()
        {
            var expected = "M";
            var actural  = 1000;

            Assert.AreEqual(expected, RomanConvert.Solution(actural));
        }
 public void Test(int value, string expected)
 {
     Assert.AreEqual(expected, RomanConvert.Solution(value));
 }
Esempio n. 8
0
        public void Test4(int value, string expected)
        {
            RomanConvert converter = new RomanConvert();

            Assert.AreEqual(expected, converter.Solution(value));
        }