def test_render() -> None:
    'Test `render` command.'
    run((COMMAND_LINES['render'] + ['--cache', 'tests/data']), (LOG + b'INFO Writing output SVG to out/map.svg...\n'))
    with Path('out/map.svg').open(encoding='utf-8') as output_file:
        root: Element = ElementTree.parse(output_file).getroot()
    assert (len(root) == 8)
    assert (len(root[3][0]) == 0)
    assert (root.get('width') == '186.0')
    assert (root.get('height') == '198.0')
Test `render` command.
def test_render() -> None:
    
    run((COMMAND_LINES['render'] + ['--cache', 'tests/data']), (LOG + b'INFO Writing output SVG to out/map.svg...\n'))
    with Path('out/map.svg').open(encoding='utf-8') as output_file:
        root: Element = ElementTree.parse(output_file).getroot()
    assert (len(root) == 8)
    assert (len(root[3][0]) == 0)
    assert (root.get('width') == '186.0')
    assert (root.get('height') == '198.0')