Skip to content

Commit 8d196ba

Browse files
committed
tests
1 parent de85b3a commit 8d196ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/testBlocks.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,14 +575,20 @@ function tagsTestBlock!(fg, v1, v1_tags)
575575
@test mergeFactorTags!(fg, :abf1, [:NEW_FACTOR_TAG]) == 1
576576
@test :NEW_FACTOR_TAG listFactorTags(fg, :abf1)
577577
@test hasFactorTags(fg, :abf1, [:NEW_FACTOR_TAG])
578+
@test deleteFactorTags!(fg, :abf1, [:NEW_FACTOR_TAG]) == 1
579+
@test !hasFactorTags(fg, :abf1, [:NEW_FACTOR_TAG])
578580

579581
@test mergeGraphTags!(fg, [:GRAPH_TAG]) == 1
580582
@test :GRAPH_TAG listGraphTags(fg)
581583
@test hasGraphTags(fg, [:GRAPH_TAG])
584+
@test deleteGraphTags!(fg, [:GRAPH_TAG]) == 1
585+
@test !hasGraphTags(fg, [:GRAPH_TAG])
582586

583587
@test mergeAgentTags!(fg, [:AGENT_TAG]) == 1
584588
@test :AGENT_TAG listAgentTags(fg)
585589
@test hasAgentTags(fg, [:AGENT_TAG])
590+
@test deleteAgentTags!(fg, [:AGENT_TAG]) == 1
591+
@test !hasAgentTags(fg, [:AGENT_TAG])
586592

587593
@test listVariableTags(fg, :a) isa Vector{Symbol}
588594
@test listFactorTags(fg, :abf1) isa Vector{Symbol}

0 commit comments

Comments
 (0)