import unittest
from src.assignments.assignment5 import recursive_decimal_binary
#write import for decimal to binary function


class Test_Assign4(unittest.TestCase):

    def test_recursive_decimal_binary_base_case(self):
        self.assertEqual('00000000',recursive_decimal_binary(0, 7))

    def test_recursive_decimal_binary_86(self):
        self.assertEqual('01010110',recursive_decimal_binary(86, 7))
    def test_recursive_decimal_binary_63(self):
        self.assertEqual('01000001',recursive_decimal_binary(65, 7))

    #write test cases with arguments 85 and 63 for recursive_decimal_binary function

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

import unittest
from src.assignments.assignment5 import recursive_decimal_binary
#write import for decimal to binary function


class Test_Assign4(unittest.TestCase):

    def test_recursive_decimal_binary_base_case(self):
        self.assertEqual('00000000',recursive_decimal_binary(0, 7))

    def test_recursive_decimal_binary_86(self):
        self.assertEqual('01010110',recursive_decimal_binary(86, 7))
    def test_recursive_decimal_binary_63(self):
        self.assertEqual('01000001',recursive_decimal_binary(65, 7))

    #write test cases with arguments 85 and 63 for recursive_decimal_binary function

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

#write import for decimal to binary function #write test cases with arguments 85 and 63 for recursive_decimal_binary function