Skip to content

weighted-directed-graph cannot have two edges between vertices #111

@moaxcp

Description

@moaxcp
        given:
        Graph graph = graph {
            type: 'weighted-directed-graph'
            edge('A', 'B') { weight = 0 }
            edge('B', 'A') { weight = 0 }
        }
        def edges = graph.edges

        expect:
        edges.size() == 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions