14 lines
292 B
Julia
14 lines
292 B
Julia
|
using MetagraphOptimization
|
||
|
using Test
|
||
|
|
||
|
function test_known_graphs()
|
||
|
|
||
|
g_ABAB = import_txt(joinpath(@__DIR__, "..", "examples", "AB->AB.txt"))
|
||
|
props = graph_properties(g_ABAB)
|
||
|
|
||
|
@test length(g_ABAB.nodes) == 34
|
||
|
@test props.compute_effort == 185
|
||
|
@test props.data == 102
|
||
|
|
||
|
end
|