public void Problem013_Tests_1() { string s = "III"; int act = Problem013.RomanToInt(s); int exp = 3; Assert.Equal(exp, act); }
public void Problem013_Tests_5() { string s = "MCDLXXVI"; int act = Problem013.RomanToInt(s); int exp = 1476; Assert.Equal(exp, act); }
public void Problem013_Tests_6() { string s = "MMCDXXV"; int act = Problem013.RomanToInt(s); int exp = 2425; Assert.Equal(exp, act); }
public void Problem013_Tests_4() { string s = "M"; int act = Problem013.RomanToInt(s); int exp = 1000; Assert.Equal(exp, act); }
public void Problem013_Tests_3() { string s = "MCMXCIV"; int act = Problem013.RomanToInt(s); int exp = 1994; Assert.Equal(exp, act); }
public void Problem013() { var problem = new Problem013() { ConsoleOutput = false, DetailedOutput = false }; Assert.AreEqual("5537376230", problem.Answer()); }
public void IsCorrectProblem013() { var problem = new Problem013(); Assert.Equal(Answers["13"], problem.Solve()); }
public void SolveTest() { char ch = Problem013.Solve("abaccdeff"); Assert.AreEqual('b', ch); }