@testset "$TEST $G" begin

e1 = E(1,2)
re1 = E(2,1)
@test e1.src == src(e1) == 1
@test e1.dst == dst(e1) == 2
@test reverse(e1) == re1
@test sort(e1) == e1
@test sort(re1) == e1

e = first(edges(G(10,20)))
@test E == typeof(e)
if E <: AIndexedEdge
    @test idx(e) > 0
end

e = first(edges(DG(10,20)))
@test E == typeof(e)
if E <: AIndexedEdge
    @test idx(e) > 0
end

end # testset
