We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c55b3 commit cc5984bCopy full SHA for cc5984b
test/interfaceTests.jl
@@ -82,7 +82,11 @@ end
82
@testset "Gets, Sets, and Accessors" begin
83
global dfg,v1,v2,f1
84
@test getVariable(dfg, v1.label) == v1
85
+ @test getVariable(dfg, v2.label) != v1
86
@test getFactor(dfg, f1.label) == f1
87
+ f2 = deepcopy(f1)
88
+ f2.label = :something
89
+ @test f2 != f1
90
@test_throws Exception getVariable(dfg, :nope)
91
@test_throws Exception getVariable(dfg, "nope")
92
@test_throws Exception getFactor(dfg, :nope)
0 commit comments