Test Rectangle Functions Test for area_of_rectangle Source code in test_rectangles.py 7 8 9 10@pytest.mark.parametrize("width,height,area", [(3, 5, 15), (2, 4, 8), (6, 9, 54)]) def test_area(width, height, area): output = area_of_rectangle(width, height) assert output == area Test for perimeter_of_rectangle Source code in test_rectangles.py 12 13 14 15@pytest.mark.parametrize("width,height,perimeter", [(3, 5, 16), (2, 4, 12), (6, 9, 30)]) def test_perimeter(width, height, perimeter): output = perimeter_of_rectangle(width,height) assert output == perimeter