Question: Create tests for the base conversion code below Should have 100% coverage Use the given outline below from __future__ import annotations import unittest from base_convert
Create tests for the base conversion code below
Should have 100% coverage

Use the given outline below
from __future__ import annotations
import unittest
from base_convert import convert
class Tests(unittest.TestCase):
def test_conbert_base02_1(self):
self.assertEqual(convert(0, 2), "0")
def test_convert_base16_1(self):
self.assertEqual(convert(107, 16), "6B")
# TODO: add more tests
if __name__ == "__main__":
unittest.main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
