def test_number_of_digits_in_9999(self): number = Roman(9999) self.assertEquals(number.number_of_digits(), 4)
def test_number_of_digits_in_1(self): number = Roman(1) self.assertEquals(number.number_of_digits(), 1)