def test_del_nodes(node, result):
    """Test to check the deleted nodes aren't there."""
    from simple_graph import Graph
    g = Graph()
    for idx in node:
        g.add_node(idx)
    assert g.del_node(1) == result
def test_del_node(value):
    from simple_graph import Graph
    new_graph = Graph()
    new_graph.add_node(value)
    new_graph.del_node(value)
    assert value not in new_graph.node_map
def test_del_node(value):
    from simple_graph import Graph
    new_graph = Graph()
    new_graph.add_node(value)
    new_graph.del_node(value)
    assert value not in new_graph.node_map