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

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

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void CheckSubstructionInside_not_power_ten_exceeded_false_returned()
        {
            string str      = "MMMVX";
            bool   expected = false;

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

            Assert.AreEqual(expected, actual);
        }