def test_get_pack_invalid_pack(): with pytest.raises(TypeError): get_pack(None, 10)
def test_get_pack_invalid_ety(): with pytest.raises(TypeError): get_pack((3, 8), None)
def test_get_pack_again(): expected_output = {3: 4} assert get_pack((3, 8), 12) == expected_output
def test_get_pack_invalid_test_case(): expected_output = {} assert get_pack((3, 8), 1) == expected_output
def test_get_pack(): expected_output = {5: 2} assert get_pack((5, 3), 10) == expected_output