예제 #1
0
        public void CheckRomanSymbols_extra_character_false_returned()
        {
            string str      = "MMMDW";
            bool   expected = false;

            RomanNumeralsConverter romanNumerals = RomanNumeralsConverter.GetConverter();
            bool actual = romanNumerals.CheckRomanSymbols(str);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void CheckRomanSymbols_MMMD_true_returned()
        {
            string str      = "MMD";
            bool   expected = true;

            RomanNumeralsConverter romanNumerals = RomanNumeralsConverter.GetConverter();
            bool actual = romanNumerals.CheckRomanSymbols(str);

            Assert.AreEqual(expected, actual);
        }