Skip to content

Commit 04a2fae

Browse files
committed
Fix tests
1 parent bbcbb5a commit 04a2fae

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

test/test_partitionedgraphs.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ using NamedGraphs.NamedGraphGenerators: named_path_graph
1010
using NamedGraphs.PartitionedGraphs: PartitionedGraph, PartitionedGraphs, QuotientEdge,
1111
QuotientEdges, QuotientVertex, QuotientVertexOrEdge, QuotientVertexVertex,
1212
QuotientVertexVertices, QuotientVertices, QuotientVerticesVertices, QuotientView,
13-
departition, partitionedgraph, quotient_graph, quotientedges, quotientvertices,
14-
unpartition
13+
departition, partitioned_vertices, partitionedgraph, quotient_graph, quotientedges,
14+
quotientvertices, unpartition
1515
using NamedGraphs: NamedGraphs, Edges, NamedGraph, Vertices, similar_graph
1616
using Test: @test, @test_throws, @testset
1717

@@ -43,6 +43,10 @@ end
4343
DataGraphs.underlying_graph(graph::TestDataGraph) = underlying_graph(graph.graph)
4444
PartitionedGraphs.quotient_graph(graph::TestDataGraph) = graph.quotientgraph
4545

46+
function PartitionedGraphs.partitioned_vertices(graph::TestDataGraph)
47+
return partitioned_vertices(underlying_graph(graph.graph))
48+
end
49+
4650
function NamedGraphs.similar_graph(dg::TestDataGraph, graph::AbstractGraph)
4751
dg = similar_graph(dg.graph, graph)
4852
return TestDataGraph(dg)

0 commit comments

Comments
 (0)