#!/usr/bin/env python3
import unittest

from roman_number_generator import arabic_to_roman


class Test(unittest.TestCase):

    def _start_arabic_to_roman(self):
        self.assertRaises(ValueError, arabic_to_roman, 4000)
        self.assertEqual(arabic_to_roman(4), "IV")
        self.assertEqual(arabic_to_roman(12), "XII")
        self.assertEqual(arabic_to_roman(20), "XX")


if __name__ == "__main__":
    unittest.main()

[((413, 428), 'unittest.main', 'unittest.main', ([], {}), '()\n', (426, 428), False, 'import unittest\n'), ((249, 267), 'roman_number_generator.arabic_to_roman', 'arabic_to_roman', (['(4)'], {}), '(4)\n', (264, 267), False, 'from roman_number_generator import arabic_to_roman\n'), ((300, 319), 'roman_number_generator.arabic_to_roman', 'arabic_to_roman', (['(12)'], {}), '(12)\n', (315, 319), False, 'from roman_number_generator import arabic_to_roman\n'), ((353, 372), 'roman_number_generator.arabic_to_roman', 'arabic_to_roman', (['(20)'], {}), '(20)\n', (368, 372), False, 'from roman_number_generator import arabic_to_roman\n')]