Skip to content

Commit 9c54825

Browse files
committed
test: simple test fetching :â and :ahat
1 parent 7233a58 commit 9c54825

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎test/2_test_state_estim.jl‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,10 @@ end
15581558
preparestate!(mhe, [0], [0])
15591559
info = getinfo(mhe)
15601560
@test info[:x̂] ≈ x̂ atol=1e-5
1561+
@test info[:xhat] ≈ x̂ atol=1e-5
15611562
@test info[:Ŷ][end] ≈ 0 atol=1e-5
1563+
@test info[:â] ≈ [0.0] atol=1e-5
1564+
@test info[:ahat] ≈ [0.0] atol=1e-5
15621565
for i in 1:40
15631566
preparestate!(mhe, [0], [0])
15641567
updatestate!(mhe, [3.0], [0], [0])

0 commit comments

Comments
 (0)