Skip to content

Commit

Permalink
add test for exported generic name
Browse files Browse the repository at this point in the history
  • Loading branch information
olynch committed Jan 10, 2024
1 parent 80418cc commit da324ba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/intertypes/InterTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,14 @@ g = EDWeightedGraph()
add_parts!(g, :V, 2)
add_part!(g, :E, src=1, tgt=2, weight=EdgeData(:mass_ave, 42))

@test testjson(m)
@test testjson(g)

sg = WeightedGraph{Symbol}()

add_parts!(sg, :V, 2)
add_part!(sg, :E, src=1, tgt=2, weight=:mass_ave)

@test testjson(sg)

generate_module(wgraph, JSONTarget)

Expand Down

0 comments on commit da324ba

Please sign in to comment.