We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad80e7b commit 7c4edc8Copy full SHA for 7c4edc8
test/utilities.jl
@@ -2,9 +2,4 @@
2
const A = reshape(rand(1:9, 1000), 10, 10, 10)
3
carts_idxs = CartesianIndices(A)
4
vec_idxs = MultilayerGraphs.cartIndexTovecIndex.(carts_idxs, Ref(size(A)))
5
-@test all(getindex.(Ref(A), carts_idxs) .== getindex.(Ref(A), vec_idxs) )
6
-# Test directed simple graphicality
7
-sdg = SimpleDiGraph(10, 90)
8
-@test @inferred(isdigraphical(indegree(sdg), outdegree(sdg)))
9
-@test !@inferred(isdigraphical([1, 1, 1], [1, 1, 0]))
10
-@test @inferred(isdigraphical(Integer[], Integer[]))
+@test all(getindex.(Ref(A), carts_idxs) .== getindex.(Ref(A), vec_idxs))
0 commit comments