Skip to content

Commit 55fd2b4

Browse files
committed
Revert "Add back rand_graph with seed"
This reverts commit 9d43be2.
1 parent 9d43be2 commit 55fd2b4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/GNNGraphs/query.jl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,12 @@
135135
@testset "laplacian_lambda_max" begin
136136
s = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
137137
t = [2, 3, 4, 5, 1, 5, 1, 2, 3, 4]
138-
g = GNNGraph(s, t)
138+
g = GNNGraph(s,t)
139139
@test laplacian_lambda_max(g) Float32(1.809017)
140-
data1 = [g for i in 1:5]
141-
gall1 = Flux.batch(data1)
142-
@test laplacian_lambda_max(gall1) [Float32(1.809017) for i in 1:5]
143-
data2 = [rand_graph(10, 20; seed=i) for i in 1:3]
144-
gall2 = Flux.batch(data2)
145-
@test length(laplacian_lambda_max(gall2)) == 3
140+
data = [g for i in 1:5]
141+
gall = Flux.batch(data)
142+
@test laplacian_lambda_max(gall) [Float32(1.809017) for i in 1:5]
143+
@test length(laplacian_lambda_max(gall)) == 5
146144
end
147145

148146
@testset "adjacency_matrix" begin

0 commit comments

Comments
 (0)