from solution import is_number_balanced
import unittest


class Test(unittest.TestCase):

    def test_problem_statement_cases(self):
        self.assertEqual(True, is_number_balanced(9))
        self.assertEqual(True, is_number_balanced(11))
        self.assertEqual(False, is_number_balanced(13))
        self.assertEqual(True, is_number_balanced(121))
        self.assertEqual(True, is_number_balanced(4518))
        self.assertEqual(False, is_number_balanced(28471))
        self.assertEqual(True, is_number_balanced(1238033))


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

8bee5f48acc171744bced5362d6e3f917c9ab9c9
<mask token>

<mask token>


class Test(unittest.TestCase):
    <mask token>


<mask token>

<mask token>


class Test(unittest.TestCase):

    def test_problem_statement_cases(self):
        self.assertEqual(True, is_number_balanced(9))
        self.assertEqual(True, is_number_balanced(11))
        self.assertEqual(False, is_number_balanced(13))
        self.assertEqual(True, is_number_balanced(121))
        self.assertEqual(True, is_number_balanced(4518))
        self.assertEqual(False, is_number_balanced(28471))
        self.assertEqual(True, is_number_balanced(1238033))


<mask token>

<mask token>


class Test(unittest.TestCase):

    def test_problem_statement_cases(self):
        self.assertEqual(True, is_number_balanced(9))
        self.assertEqual(True, is_number_balanced(11))
        self.assertEqual(False, is_number_balanced(13))
        self.assertEqual(True, is_number_balanced(121))
        self.assertEqual(True, is_number_balanced(4518))
        self.assertEqual(False, is_number_balanced(28471))
        self.assertEqual(True, is_number_balanced(1238033))


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

from solution import is_number_balanced
import unittest


class Test(unittest.TestCase):

    def test_problem_statement_cases(self):
        self.assertEqual(True, is_number_balanced(9))
        self.assertEqual(True, is_number_balanced(11))
        self.assertEqual(False, is_number_balanced(13))
        self.assertEqual(True, is_number_balanced(121))
        self.assertEqual(True, is_number_balanced(4518))
        self.assertEqual(False, is_number_balanced(28471))
        self.assertEqual(True, is_number_balanced(1238033))


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