Skip to content

Commit

Permalink
add test for edge sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
ljeub-pometry committed Dec 13, 2024
1 parent 271ff5c commit dc39523
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/tests/test_graphdb/test_graphdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,17 @@ def check(g):
check(g)


def test_edge_sorting():
g = create_graph()

@with_disk_graph
def check(g):
assert list(g.edges) == sorted(g.edges)
assert list(g.edges.explode()) == sorted(g.edges.explode())

check(g)


def test_windowed_graph_degree():
g = create_graph()

Expand Down

0 comments on commit dc39523

Please sign in to comment.