def test_icons() -> None:
    'Test `icons` command.'
    run(COMMAND_LINES['icons'], b'INFO Icons are written to out/icons_by_name and out/icons_by_id.\nINFO Icon grid is written to out/icon_grid.svg.\nINFO Icon grid is written to doc/grid.svg.\n')
    assert (Path('out') / 'icon_grid.svg').is_file()
    assert (Path('out') / 'icons_by_name').is_dir()
    assert (Path('out') / 'icons_by_id').is_dir()
    assert ((Path('out') / 'icons_by_name') / 'Röntgen apple.svg').is_file()
    assert ((Path('out') / 'icons_by_id') / 'apple.svg').is_file()
Test `icons` command.
def test_icons() -> None:
    
    run(COMMAND_LINES['icons'], b'INFO Icons are written to out/icons_by_name and out/icons_by_id.\nINFO Icon grid is written to out/icon_grid.svg.\nINFO Icon grid is written to doc/grid.svg.\n')
    assert (Path('out') / 'icon_grid.svg').is_file()
    assert (Path('out') / 'icons_by_name').is_dir()
    assert (Path('out') / 'icons_by_id').is_dir()
    assert ((Path('out') / 'icons_by_name') / 'Röntgen apple.svg').is_file()
    assert ((Path('out') / 'icons_by_id') / 'apple.svg').is_file()