def METHOD_NAME(cfg, testfile, update=False):
    """Compare test results."""
    extension = []
    extension_config = {}
    wrapper = "%s"
    for k, v in cfg['extensions'].items():
        extension.append(k)
        if v:
            extension_config[k] = v
    if 'css' in cfg and len(cfg['css']):
        wrapper = WRAPPER % '\n'.join([CSS_LINK % css for css in cfg['css']])
    check_markdown(testfile, extension, extension_config, wrapper, update)