old_contents: import unittest
  
  import roman_numerals
  
  
  class RomanTest(unittest.TestCase):
      numerals = {
          1: 'I',
          2: 'II',
          3: 'III',
          4: 'IV',
          5: 'V',
          6: 'VI',
          9: 'IX',
          27: 'XXVII',
          48: 'XLVIII',
          59: 'LIX',
          93: 'XCIII',
          141: 'CXLI',
          163: 'CLXIII',
          402: 'CDII',
          575: 'DLXXV',
          911: 'CMXI',
          1024: 'MXXIV',
          3000: 'MMM',
      }
  
      def test_numerals(self):
          for arabic, numeral in self.numerals.items():
              self.assertEqual(roman_numerals.numeral(arabic), numeral)
  
  
  if __name__ == '__main__':
      unittest.main()
  
new_contents: import unittest
  
  import roman_numerals
  
  
  # test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0
  
  class RomanTest(unittest.TestCase):
      numerals = {
          1: 'I',
          2: 'II',
          3: 'III',
          4: 'IV',
          5: 'V',
          6: 'VI',
          9: 'IX',
          27: 'XXVII',
          48: 'XLVIII',
          59: 'LIX',
          93: 'XCIII',
          141: 'CXLI',
          163: 'CLXIII',
          402: 'CDII',
          575: 'DLXXV',
          911: 'CMXI',
          1024: 'MXXIV',
          3000: 'MMM',
      }
  
      def test_numerals(self):
          for arabic, numeral in self.numerals.items():
              self.assertEqual(roman_numerals.numeral(arabic), numeral)
  
  
  if __name__ == '__main__':
      unittest.main()
  
subject: Add test data version