Skip to content

Commit 8af5787

Browse files
committed
test calcDeltatime
1 parent 75f2e92 commit 8af5787

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/testBlocks.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ function DFGVariableSCA()
319319
@test getDimension(testvar) == 1
320320
@test getManifold(testvar) == TranslationGroup(1)
321321

322+
@test DFG.calcDeltatime(v1, v2) isa Real
323+
322324
# #TODO sort out
323325
# getState
324326
# getSolvedCount
@@ -389,6 +391,7 @@ function DFGFactorSCA()
389391
# create f0 here for a later timestamp
390392
f0 = FactorCompute(:af1, [:a], obs_prior; tags = Set([:PRIOR]))
391393

394+
@test DFG.calcDeltatime(f1, f2) isa Real
392395
#fill in undefined fields
393396
# f2.solverData.certainhypo = Int[]
394397
# f2.solverData.multihypo = Float64[]

0 commit comments

Comments
 (0)