Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jul 10, 2024
1 parent eeed769 commit ac2ee88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/POMDPTools/test/model_tools/test_generative_belief_mdp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ let

# default terminal behavior
bm = GenerativeBeliefMDP(terminal_test_m, up)
hist = collect(stepthrough(bm, RandomPolicy(bm), "s,sp")
hist = collect(stepthrough(bm, RandomPolicy(bm), "s,sp"))
@test isterminal(bm, last(hist).sp)

behavior = TerminalStateTerminalBehavior()
bm = GenerativeBeliefMDP(terminal_test_m, up)
hist = collect(stepthrough(bm, RandomPolicy(bm), "s,sp")
hist = collect(stepthrough(bm, RandomPolicy(bm), "s,sp"))
@test last(hist).sp === terminalstate
@test isterminal(bm, last(hist).sp)

Expand Down

0 comments on commit ac2ee88

Please sign in to comment.