We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de85b3a commit 8d196baCopy full SHA for 8d196ba
test/testBlocks.jl
@@ -575,14 +575,20 @@ function tagsTestBlock!(fg, v1, v1_tags)
575
@test mergeFactorTags!(fg, :abf1, [:NEW_FACTOR_TAG]) == 1
576
@test :NEW_FACTOR_TAG ∈ listFactorTags(fg, :abf1)
577
@test hasFactorTags(fg, :abf1, [:NEW_FACTOR_TAG])
578
+ @test deleteFactorTags!(fg, :abf1, [:NEW_FACTOR_TAG]) == 1
579
+ @test !hasFactorTags(fg, :abf1, [:NEW_FACTOR_TAG])
580
581
@test mergeGraphTags!(fg, [:GRAPH_TAG]) == 1
582
@test :GRAPH_TAG ∈ listGraphTags(fg)
583
@test hasGraphTags(fg, [:GRAPH_TAG])
584
+ @test deleteGraphTags!(fg, [:GRAPH_TAG]) == 1
585
+ @test !hasGraphTags(fg, [:GRAPH_TAG])
586
587
@test mergeAgentTags!(fg, [:AGENT_TAG]) == 1
588
@test :AGENT_TAG ∈ listAgentTags(fg)
589
@test hasAgentTags(fg, [:AGENT_TAG])
590
+ @test deleteAgentTags!(fg, [:AGENT_TAG]) == 1
591
+ @test !hasAgentTags(fg, [:AGENT_TAG])
592
593
@test listVariableTags(fg, :a) isa Vector{Symbol}
594
@test listFactorTags(fg, :abf1) isa Vector{Symbol}
0 commit comments